CVE-2019-19507 json
Validation bypass is possible in Json Pattern Validator
published 2019-12-02 6 y ago modified 2026-06-17 4 mo ago also GHSA-rh46-3fgc-mvrf , EUVD-2019-0801
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 62%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm jpv 2.1.1
- json_pattern_validator_project json_pattern_validator 2.1.1
Exploit prediction
0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/manvel-khnkoyan/jpv/issues/6 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | jpv | <2.1.1 |
2.1.1 |
Classification
- Weakness
-
- CWE-287 Improper Authentication
References
-
github.com
/manvel-khnkoyan/jpv/issues/6
web, exploit, issue-tracking, third-party-advisory
-
npmjs.com
/package/jpv
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2019-19507
advisory
Sources
- CVE List CVE-2019-19507
- GitHub Advisory GHSA-rh46-3fgc-mvrf
- NVD CVE-2019-19507
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.