GitHub Advisoryadvisory · npm
GHSA-6c59-mwgh-r2x6 JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js
MEDIUM
Official page ↗
- Aliases
- CVE-2025-61140
- Ecosystem
- npm
- Packages
- jsonpath
- Severity
- Moderate
- 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
- Weaknesses
- CWE-1321
- Reviewed
- 2026-02-02
Affected packages
• npm jsonpath: < 1.2.0 → fixed in 1.2.0
Description
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
Related
Alias · CVE (1)
- CVE-2025-61140 The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-61140 advisory
- https://github.com/dchester/jsonpath/issues/181 web
- https://github.com/dchester/jsonpath/issues/194 web
- https://github.com/dchester/jsonpath/pull/195 web
- https://github.com/dchester/jsonpath/commit/9631412641b7095f86840a7a45b5b3afc68b0fcb web
- https://gist.github.com/Dremig/8105c189774217222a8ebea3ed4d341d web
- https://github.com/dchester/jsonpath package