Back to Database
Status published
Critical
CVE-2024-47875
DOMPurify nesting-based mXSS
Vulnerability Description
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to nesting-based mXSS. This vulnerability is fixed in 2.5.0 and 3.1.3.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2024-47875
Credits & Attribution
No credits recorded in the NVD database.
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-gx9m-whjm-85jf
- https://github.com/cure53/DOMPurify/commit/0ef5e537a514f904b6aa1d7ad9e749e365d7185f
- https://github.com/cure53/DOMPurify/commit/6ea80cd8b47640c20f2f230c7920b1f4ce4fdf7a
- https://github.com/cure53/DOMPurify/blob/0ef5e537a514f904b6aa1d7ad9e749e365d7185f/test/test-suite.js#L2098
More from cure53
View All →CVE-2025-15599
DOMPurify XSS via Textarea Rawtext Bypass in SAFE_FOR_XML
Medium
5.1
CVE-2024-48910
DOMPurify vulnerable to tampering by prototype polution
Critical
9.1
CVE-2024-45801
Tampering by prototype polution in DOMPurify
High
7.3
CVE-2020-26870
Cure53 DOMPurify before 2.0.17 allows mutation XSS. This occurs because...
Medium
6.1
CVE-2019-25155
DOMPurify before 1.0.11 allows reverse tabnabbing in demos/hooks-target-blank-demo.html because links...
Medium
6.1
Affected Vendor
cure53
View all reports →Affected Software
DOMPurify
Vulnerable Versions:
< 2.5.0, < 3.1.3
Timeline
Official Publish:
October 11th, 2024
Last Modified:
November 3rd, 2025
Added to House:
July 22nd, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:H