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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
cure53 DOMPurify
< 2.5.0affected< 3.1.3affected
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 ↗
- http://seclists.org/fulldisclosure/2025/Apr/14 ↗
- https://lists.debian.org/debian-lts-announce/2025/02/msg00010.html ↗