dompurify
Affected
- introduced
0, fixed2.5.4(semver)
Fixed versions
2.5.4
Fix
- Fixed version
2.5.4npm install [email protected]
Advisory
Also known as: CVE-2024-45801
DOMPurify allows tampering by prototype pollution
It has been discovered that malicious HTML using special nesting techniques can bypass the depth checking added to DOMPurify in recent releases. It was also possible to use Prototype Pollution to weaken the depth check.
This renders dompurify unable to avoid XSS attack.
Fixed by https://github.com/cure53/DOMPurify/commit/1e520262bf4c66b5efda49e2316d6d1246ca7b21 (3.x branch) and https://github.com/cure53/DOMPurify/commit/26e1d69ca7f769f5c558619d644d90dd8bf26ebc (2.x branch).
High Basis: The source's own band: HIGH
0, fixed 2.5.4 (semver)2.5.4
2.5.4npm install [email protected]3.0.0, fixed 3.1.3 (semver)3.1.3
3.1.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0