GHSA-34q3-8x9v-j957

Suggest an improvement
Source
https://github.com/advisories/GHSA-34q3-8x9v-j957
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-34q3-8x9v-j957/GHSA-34q3-8x9v-j957.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-34q3-8x9v-j957
Aliases
Published
2025-09-24T21:30:37Z
Modified
2025-09-26T13:27:21Z
Severity
  • 2.9 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
toggle-array vulnerable to prototype pollution
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-1321"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-09-26T12:55:31Z",
    "nvd_published_at":  "2025-09-24T20:15:32Z",
    "severity":  "LOW"
}
References

Affected packages

npm / toggle-array

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-34q3-8x9v-j957/GHSA-34q3-8x9v-j957.json"