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 Published 2026-01-28 Modified 2026-02-05 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