CVE-2019-19507
MEDIUM 5.3CVSS 3.1Validation bypass is possible in Json Pattern Validator
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.
- Published
- 2 Dec 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-287
- Also known as
- GHSA-rh46-3fgc-mvrf
- Sources
- NVDJSONOSV GHSA-rh46-3fgc-mvrfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | json_pattern_validator_project | json_pattern_validatorcpe:2.3:a:json_pattern_validator_project:json_pattern_validator:*:*:*:*:*:*:*:* |
< 2.1.1 | 2.1.1 |
| OSV | npm | jpv | < 2.1.1 | 2.1.1 |
References
- https://github.com/manvel-khnkoyan/jpv/issues/6 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://www.npmjs.com/package/jpv · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-19507 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 2 Dec 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Dec 2019)