Prototype Pollution
Description
All versions of mootools are vulnerable to prototype pollution via Object.merge() due to unsafe recursive merge.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
All versions of mootools are vulnerable to prototype pollution via Object.merge() due to unsafe recursive merge.
Vulnerability
The mootools package is vulnerable to prototype pollution in all versions [2]. The Object.merge() function performs an unsafe recursive merge, allowing an attacker to inject properties into the global Object.prototype by passing a crafted object with a __proto__ property [2]. This affects the mootools package available on npm [3].
Exploitation
An attacker can exploit this vulnerability by providing untrusted input to Object.merge() [2]. No authentication or special privileges are required; the attack can be performed remotely by supplying a maliciously crafted object [2]. The merge function recursively copies properties from the source to the target, and if the source contains __proto__, the pollution occurs during the recursive step [2].
Impact
Successful exploitation leads to prototype pollution, which can result in denial of service (via JavaScript exceptions), tampering with application logic, or remote code execution [2]. The pollution affects all objects inheriting from Object.prototype, potentially compromising the entire application [2].
Mitigation
No official fix has been released for mootools [3]. The library is considered outdated and users are advised to migrate to modern alternatives [3]. As of this writing, no workaround is available, and the vulnerability remains unpatched [2][3].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
mootoolsnpm | <= 1.5.2 | — |
Affected products
2- Range: <= 1.5.2
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-x6hx-7gh3-3q98ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-23432ghsaADVISORY
- snyk.io/vuln/SNYK-JS-MOOTOOLS-1325536ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.