The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-1302

CVE-2025-1302: jsonpath-plus RCE Vulnerability

CVE-2025-1302 is a remote code execution flaw in jsonpath-plus before version 10.3.0 caused by improper input sanitization. Attackers can execute arbitrary code by exploiting unsafe eval defaults. Learn the details.

Updated: January 22, 2026

CVE-2025-1302 Overview

CVE-2025-1302 is a Remote Code Execution (RCE) vulnerability affecting versions of the jsonpath-plus npm package before 10.3.0. The vulnerability stems from improper input sanitization, allowing attackers to execute arbitrary code on affected systems by exploiting the unsafe default usage of eval='safe' mode. This vulnerability represents an incomplete fix for the previously disclosed CVE-2024-21534.

Critical Impact

Attackers can achieve remote code execution on systems running vulnerable versions of jsonpath-plus, potentially leading to complete system compromise, data exfiltration, and lateral movement within affected environments.

Affected Products

  • jsonpath-plus npm package versions before 10.3.0
  • Applications and services utilizing vulnerable jsonpath-plus versions
  • Node.js environments with jsonpath-plus as a dependency

Discovery Timeline

  • February 15, 2025 - CVE-2025-1302 published to NVD
  • February 15, 2025 - Last updated in NVD database

Technical Details for CVE-2025-1302

Vulnerability Analysis

This vulnerability is classified as Code Injection (CWE-94) and enables remote code execution through the jsonpath-plus library's handling of JSONPath expressions. The issue originates from the Safe-Script.js component of the library, where input sanitization measures implemented to address CVE-2024-21534 were incomplete.

The jsonpath-plus library provides JSONPath querying functionality for JavaScript applications, commonly used to extract and manipulate data from JSON structures. When processing specially crafted JSONPath expressions, the library fails to properly sanitize input before evaluation, even when the eval='safe' mode is engaged—a setting that should theoretically prevent arbitrary code execution.

Root Cause

The root cause lies in the incomplete implementation of input sanitization within the Safe-Script.js module. The previous security fix for CVE-2024-21534 attempted to restrict dangerous operations within the safe evaluation mode, but edge cases remained that allow attackers to bypass these protections. The vulnerable code path exists in the script evaluation mechanism, where specially crafted input can escape the intended sandbox restrictions.

Attack Vector

The attack vector is network-based, requiring no authentication or user interaction. An attacker can exploit this vulnerability by supplying a malicious JSONPath expression to an application using the vulnerable jsonpath-plus library. This is particularly dangerous in scenarios where:

  • User-supplied input is processed through JSONPath queries
  • API endpoints accept JSONPath expressions as parameters
  • Configuration files or external data sources contain JSONPath expressions that are evaluated

A proof-of-concept demonstrating this vulnerability is available through the GitHub Gist PoC. The vulnerable code path can be examined in the Safe-Script.js source file on GitHub.

Detection Methods for CVE-2025-1302

Indicators of Compromise

  • Unexpected process spawning from Node.js applications utilizing jsonpath-plus
  • Anomalous network connections originating from Node.js processes
  • Unusual system commands being executed in the context of web application processes
  • Log entries showing malformed or suspicious JSONPath expressions

Detection Strategies

  • Implement application-level logging to capture JSONPath expressions before evaluation
  • Deploy runtime application self-protection (RASP) solutions to detect code injection attempts
  • Monitor package manifests (package.json, package-lock.json) for vulnerable jsonpath-plus versions
  • Use software composition analysis (SCA) tools to identify vulnerable dependencies across your codebase

Monitoring Recommendations

  • Enable verbose logging for applications processing JSON data with JSONPath queries
  • Monitor for unusual characters or patterns in JSONPath expressions that may indicate exploitation attempts
  • Set up alerts for any code execution anomalies in production Node.js environments
  • Implement egress filtering to detect potential data exfiltration following successful exploitation

How to Mitigate CVE-2025-1302

Immediate Actions Required

  • Update jsonpath-plus to version 10.3.0 or later immediately
  • Audit all applications and services for jsonpath-plus dependencies
  • Review application code to identify where user input may flow into JSONPath expressions
  • Implement input validation at application boundaries before processing JSONPath queries

Patch Information

The jsonpath-plus maintainers have addressed this vulnerability in version 10.3.0. The security fix can be reviewed in the GitHub commit. Organizations should update their dependencies by running the appropriate package manager commands and verifying the updated version is in use.

Additional details about this vulnerability are available in the Snyk Vulnerability Report.

Workarounds

  • If immediate patching is not possible, avoid processing untrusted input through JSONPath expressions
  • Implement strict input validation and allowlisting for any JSONPath expressions accepted from external sources
  • Consider temporarily disabling functionality that relies on dynamic JSONPath evaluation
  • Isolate applications using vulnerable versions in restricted network segments to limit potential impact
bash
# Update jsonpath-plus to patched version
npm update jsonpath-plus@^10.3.0

# Verify installed version
npm list jsonpath-plus

# Audit for vulnerabilities
npm audit

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechJsonpath Plus

  • SeverityHIGH

  • CVSS Score8.9

  • EPSS Probability85.80%

  • Known ExploitedNo
  • CVSS 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Gist PoC Code

  • GitHub Risky Script Source

  • GitHub Commit Change Log

  • Snyk Vulnerability Report
  • Related CVEs
  • CVE-2024-21534: jsonpath-plus RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English