Skip to content
OpenAdvisories

Package · npm

ajv

2 known vulnerabilities.

2 results · Feed

  • Low 2.9

    ajv has ReDoS when using `$data` option

    ajv (Another JSON Schema Validator) before 8.18.0 is vulnerable to Regular Expression Denial of Service (ReDoS) when the $data option is enabled. The pattern keyword accepts runtime data via JSON Pointer syntax ($data reference), which is passed directly to t…

  • Medium 5.6

    Prototype Pollution in Ajv

    An issue was discovered in ajv.validate() in Ajv (aka Another JSON Schema Validator) 6.12.2. A carefully crafted JSON schema could be provided that allows execution of other code by prototype pollution. (While untrusted schemas are recommended against, the wo…