dchester/jsonpath · Security
JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js
- GHSA ID
- GHSA-6c59-mwgh-r2x6
- CVE ID
- CVE-2025-61140
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.6 · 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
Description
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
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 ↗