CVE-2025-57328
JavaScript vulnerability analysis and mitigation

Overview

A Prototype Pollution vulnerability exists in the toggle-array package version 1.0.1 and earlier. The vulnerability is identified as CVE-2025-57328 and was disclosed on September 24, 2025. The vulnerability affects the enable and disable functions of the package, which is designed to enable a property on an object at a specified index while disabling the property on all other objects (NVD).

Technical details

The vulnerability exists in the enable and disable functions of toggle-array v1.0.1 and earlier versions. Attackers can inject properties on Object.prototype by supplying a crafted payload. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. The issue has been classified under CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) (NVD).

Impact

The primary impact of this vulnerability is the potential for denial of service (DoS) attacks, which is noted as the minimum consequence. The vulnerability allows attackers to manipulate the Object.prototype through property injection, which can affect the entire application's behavior and stability (NVD).

Mitigation and workarounds

No official patches or mitigations have been publicly announced at the time of this report. Users are advised to monitor for updates from the package maintainers and consider implementing input validation as a temporary workaround (NVD).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67731HIGH8.7
  • JavaScriptJavaScript
  • servify-express
NoYesDec 12, 2025
CVE-2025-67718HIGH8.7
  • JavaScriptJavaScript
  • formio
NoYesDec 11, 2025
CVE-2025-65513HIGH7.5
  • JavaScriptJavaScript
  • mcp-fetch-server
NoNoDec 09, 2025
CVE-2025-67716MEDIUM5.7
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 11, 2025
CVE-2025-67490MEDIUM5.4
  • JavaScriptJavaScript
  • @auth0/nextjs-auth0
NoYesDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management