All CVEs / Json Pattern Validator Project
CVE-2019-19507Json Pattern Validator Project Json Pattern Validator
Medium 5.3 No auth needed
Follow: this CVE · Json Pattern Validator Project · Json Pattern Validator Project Json Pattern Validator We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Dec 2, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Json Pattern Validator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | jpv |
< 2.1.1 |
2.1.1 |
npm install jpv@2.1.1 |
Per OSV / GitHub Advisories (GHSA-rh46-3fgc-mvrf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| json_pattern_validator_project | json_pattern_validator | < 2.1.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Third Party Advisory
- www.npmjs.com Product