CVE-2025-1302CWE-94

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

Critical · published February 15, 2025

CVSS v4.0
9.3
EPSS
10%
Percentile
95.7
In the wild
Unconfirmed
What it is

🚨 An attacker can run arbitrary code on your system just by sending a crafty JSON request! 🔥 This is like a restaurant chef receiving an order that hasn't been properly vetted — they might end up cooking a dish that includes dangerous ingredients, completely altering the meal's outcome! With versions of jsonpath-plus prior to 10.3.0, a malicious actor could exploit this vulnerability to execute any code they choose on your server. This could lead to data breaches, corrupted systems, or even full control over your infrastructure — absolutely devastating!

Put simply

This is like a restaurant chef receiving an order that hasn't been properly vetted — they might end up cooking a dish that includes dangerous ingredients, completely altering the meal's outcome! This Remote Code Execution (RCE) vulnerability arises from improper input sanitization in jsonpath-plus, specifically due to the unsafe default configuration of eval='safe' mode. An attacker can bypass these checks to run harmful code when the package processes user input.

What to do

With versions of jsonpath-plus prior to 10.3.0, a malicious actor could exploit this vulnerability to execute any code they choose on your server. This could lead to data breaches, corrupted systems, or even full control over your infrastructure — absolutely devastating! Update jsonpath-plus to version 10.3.0 or later immediately to mitigate this vulnerability. Additionally, review your application's use of the eval function and consider implementing stricter input validation practices. Don't forget to audit your dependencies regularly! This is fixable! Follow these steps, and you'll lock down your systems in no time. 🛡️

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
EPSS
0.10395 · 95.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2025-02-15T05:00Z
EPSS history
Timeline
  • 15 FEB 05:00Z
    Versions of the package jsonpath-plus before 10.3.0 are vulnerable to Remote Code Execution (RCE) due to improper input sanitization
    cvelistv5