{"cve":"CVE-2019-19507","nvd":{"published":"2019-12-02T17:15:13.187","modified":"2026-06-17T02:26:46.823","status":"Modified","description":"In jpv (aka Json Pattern Validator) before 2.1.1, compareCommon() can be bypassed because certain internal attributes can be overwritten via a conflicting name, as demonstrated by 'constructor': {'name':'Array'}. This affects validate(). Hence, a crafted payload can overwrite this builtin attribute to manipulate the type detection result.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-287"],"references":["https://github.com/manvel-khnkoyan/jpv/issues/6","https://www.npmjs.com/package/jpv","https://github.com/manvel-khnkoyan/jpv/issues/6","https://www.npmjs.com/package/jpv"],"products":["json_pattern_validator_project:json_pattern_validator"],"source":"nvd","synced_at":"2026-10-19T20:59:27.069234358+00:00"},"epss":{"cve":"CVE-2019-19507","score":0.00974,"percentile":0.62071,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-rh46-3fgc-mvrf","url":"https://osv.dev/vulnerability/GHSA-rh46-3fgc-mvrf","summary":"Validation bypass is possible in Json Pattern Validator","modified":"2023-11-08T04:01:28.483830Z","packages":[{"ecosystem":"npm","name":"jpv","purl":"pkg:npm/jpv","ranges":["<2.1.1"],"fixed":["2.1.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}