critical9.8
CVE-2025-61140
JSONPath vulnerable to Prototype Pollution due to insufficient input validation of object keys in lib/index.js
Impact
The value function in jsonpath 1.1.1 lib/index.js is vulnerable to Prototype Pollution.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | jsonpath | < 1.2.0 | 1.2.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dchester | Jsonpath | Version 1.1.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gist.github.com/Dremig/8105c189774217222a8ebea3ed4d341d
- https://github.com/dchester/jsonpath
- https://access.redhat.com/errata/RHSA-2026:2180
- https://access.redhat.com/errata/RHSA-2026:2181
- https://access.redhat.com/errata/RHSA-2026:3960
- https://access.redhat.com/errata/RHSA-2026:3962
- https://access.redhat.com/errata/RHSA-2026:6174
- https://access.redhat.com/errata/RHSA-2026:6802
- https://access.redhat.com/security/cve/CVE-2025-61140
- https://bugzilla.redhat.com/show_bug.cgi?id=2433946
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-61140.json
- https://github.com/advisories/GHSA-6c59-mwgh-r2x6
- 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