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.
Metrics
CVSS 3.1 5.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://github.com/manvel-khnkoyan/jpv/issues/6Exploit, Issue Tracking, Third Party Advisory
- https://www.npmjs.com/package/jpvProduct
- https://github.com/manvel-khnkoyan/jpv/issues/6Exploit, Issue Tracking, Third Party Advisory
- https://www.npmjs.com/package/jpvProduct
Timeline
- Published
- Dec 2, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified