Description
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).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | jsonpath-plus | < 10.3.0 | 10.3.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | kubeflow-centraldashboard | 1.9.2-r5 | — |
| Wolfi rolling | kubeflow-pipelines-frontend | 2.15.0-r1 | — |
| Wolfi rolling | prism | 5.12.1-r4 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 2 repositories
-
EQSTLab/CVE-2025-1302 ★ 21 · Feb 25, 2025
JSONPath-plus Remote Code Execution
-
abrewer251/CVE-2025-1302_jsonpath-plus_RCE ★ 1 · Jul 24, 2025
PoC exploit and vulnerable server demo for CVE-2025-1302 in jsonpath-plus.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- JSONPath Plus < 10.3.0 - Remote Code Execution http/cves/2025/CVE-2025-1302.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | jsonpath-plus | < 10.3.0 | 10.3.0 | GHSA-hw8r-x6gr-5gjp |
Advisories 1
- WID-SEC-2025-0659 IBM App Connect Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2025
References
- https://security.snyk.io/vuln/SNYK-JS-JSONPATHPLUS-8719585
- https://gist.github.com/nickcopi/11ba3cb4fdee6f89e02e6afae8db6456
- https://github.com/JSONPath-Plus/JSONPath/blob/8e4acf8aff5f446aa66323e12394ac5615c3b260/src/Safe-Script.js%23L127
- https://github.com/JSONPath-Plus/JSONPath/commit/30942896d27cb8a806b965a5ca9ef9f686be24ee