Patchfirst
CVE-2025-1302 Public exploit Critical · 9.8 EPSS 10.3%

Versions of the package jsonpath-plus before 10.3.0 are vulnerable to Remote Code Execution (RCE) due to improper…

Fix:upgrade jsonpath-plus to 10.3.0 or later Details ↓

Summary

The jsonpath-plus npm package, in versions before 10.3.0, contains a remote code execution flaw caused by improper input sanitization, and its default eval='safe' mode is unsafe to use. An attacker who can supply crafted input to an application using this package over the network, without needing authentication or user interaction, can execute arbitrary code on the affected system.

Official description · CVE.org

Versions of the package jsonpath-plus before 10.3.0 are vulnerable to Remote Code Execution (RCE) due to improper input sanitization. An attacker can execute aribitrary code on the system by exploiting the unsafe default usage of eval='safe' mode. **Note:** This is caused by an incomplete fix for [CVE-2024-21534](https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-7945884).

Breakdown
66.0 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 9 months after disclosure. Public exploit code (PoC-in-GitHub) appeared 10 days after disclosure.

  1. Disclosedday 0
  2. Public exploit codePoC-in-GitHub+10 days
  3. First seen exploitedVulnCheck KEV evidence+9 mo

A fix was bypassed or incomplete once over 4 months. The latest fix listed for jsonpath-plus is 10.3.0.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. CVE-2024-21534All versions of the package jsonpath-plus are vulnerable to…11 Oct 2024
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textAn attacker can execute aribitrary code on the system by exploiting the unsafe default usage of eval='safe' mode. **Note:** This is caused by an incomplete fix for CVE-2024-21534.
    • Linked in OSV/GitHub advisoryGHSA-hw8r-x6gr-5gjp
    • Fixed one release later10.2.0 → 10.3.0 (jsonpath-plus)
    • Same code patched: tests-badge.svg, index-browser-esm.js, index-browser-esm.min.js, index-browser-esm.min.js.map, index-browser-umd.cjs (machine-matched)commit 6b2f1b4commit 73ad72ecommit 3094289
    • Similar weakness in the same product (machine-matched)same package + description similarity
    This CVECVE-2025-1302Versions of the package jsonpath-plus before 10.3.0 are…15 Feb 2025

Fixes in jsonpath-plusnpm package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 10.2.0CVE-2024-2153411 Oct 2024
  2. 10.3.0CVE-2025-130215 Feb 2025Latest listed

Affected versions and fixes

as published in the CVE record

jsonpath-plus

Affected: < 10.3.0

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: jsonpath-plus.

npmjsonpath-plusGHSA-hw8r-x6gr-5gjp

Upgrade to 10.3.0 or later

npmnpm install jsonpath-plus@10.3.0

The first fix for CVE-2025-1302. No other CVE tracked by Patchfirst affects this package.

Affected versions

If you runUpgrade to
All versions before 10.3.010.3.0

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

4 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close