Open-source package vulnerability · npm
CVE-2025-61140: JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js
mediumCVSS 4.0 6.6GHSA-6c59-mwgh-r2x6
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
Published Jan 28, 2026 · Updated Feb 5, 2026
Affected packages
jsonpath
- Ecosystem
- npm
- Affected
- < 1.2.0
- Fixed in
- 1.2.0
- Check
npm ls jsonpath
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
Credited to gabrielmendes98.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-61140
- https://gist.github.com/Dremig/8105c189774217222a8ebea3ed4d341d
- https://github.com/dchester/jsonpath
- 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://github.com/advisories/GHSA-6c59-mwgh-r2x6
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
