JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | jsonpath | < 1.2.0 | 1.2.0 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-61140
- https://github.com/dchester/jsonpath/issues/181
- https://github.com/dchester/jsonpath/issues/194
- https://github.com/dchester/jsonpath/pull/195
- https://github.com/dchester/jsonpath/commit/9631412641b7095f86840a7a45b5b3afc68b0fcb
- https://gist.github.com/Dremig/8105c189774217222a8ebea3ed4d341d
- https://github.com/dchester/jsonpath
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U- Weakness (CWE)
CWE-1321- Platform
- npm
- Package
jsonpath- Disclosed
- 28.01.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-6c59-mwgh-r2x6 - CC BY 4.0
Vulnerability history: jsonpath
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 2
- First → latest
- 01.2026 02.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 1
Disclosures per year
- 2026: 2
-
JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.