toggle-array vulnerable to prototype pollution
        
  Low severity
        
          GitHub Reviewed
      
        Published
          Sep 24, 2025 
          to the GitHub Advisory Database
          •
          Updated Sep 26, 2025 
      
  
Description
        Published by the National Vulnerability Database
      Sep 24, 2025 
    
  
        Published to the GitHub Advisory Database
      Sep 24, 2025 
    
  
        Reviewed
      Sep 26, 2025 
    
  
        Last updated
      Sep 26, 2025 
    
  
toggle-array is a package designed to enables a property on the object at the specified index, while disabling the property on all other objects. A Prototype Pollution vulnerability in the enable and disable function of toggle-array v1.0.1 and before allows attackers to inject properties on Object.prototype via supplying a crafted payload, causing denial of service (DoS) as the minimum consequence.
References