In jpv (aka Json Pattern Validator) before 2.1.1, compareCommon() can be bypassed because…
Priority LOW 26CWE-287Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-287.
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.
Why it matters now
EPSS 0.00974 62nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed jpv (npm): 2.1.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | jpv (npm) | before 2.1.1 | 2.1.1 | Patch available | GHSA-rh46-3fgc-mvrf |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- jpv (npm) Vendor— Affected before 2.1.1 Fixed in 2.1.1 Patch available GHSA-rh46-3fgc-mvrf
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:json_pattern_validator_project:json_pattern_validator:*:*:*:*:*:*:*:* | before 2.1.1 | Vulnerable | Json Pattern Validator Project |
- cpe:2.3:a:json_pattern_validator_project:json_pattern_validator:*:*:*:*:*:*:*:* Versions before 2.1.1 Vulnerable ·Json Pattern Validator Project
Remediation
- Fix · GHSA-rh46-3fgc-mvrf jpv (npm) Fixed in 2.1.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-19507
- 2026-10-03 Alias added: GHSA-rh46-3fgc-mvrf
References
More Json Pattern Validator Project Json Pattern Validator vulnerabilities
- TI-2020-13237 jpv (aka Json Pattern Validator) before 2.2.2 does not properly validate input, as demonstrated by a corrupted array. CVSS 3.1CRITICAL 9.8
Sources
- CVE-2019-19507 · CVE Program
- CVE-2019-19507 · NVD
- FIRST EPSS
- GHSA-rh46-3fgc-mvrf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences