JSONPath Plus Remote Code Execution (RCE) Vulnerability
        
  Critical severity
        
          GitHub Reviewed
      
        Published
          Oct 11, 2024 
          to the GitHub Advisory Database
          •
          Updated Feb 6, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Oct 11, 2024 
    
  
        Published to the GitHub Advisory Database
      Oct 11, 2024 
    
  
        Reviewed
      Oct 14, 2024 
    
  
        Last updated
      Feb 6, 2025 
    
  
Versions of the package jsonpath-plus before 10.0.7 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 vm in Node.
Note:
There were several attempts to fix it in versions 10.0.0-10.1.0 but it could still be exploited using different payloads
References