Description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. In 3.4.4, DOMPurify allowed selectedcontent by default, allowing browsers to re-clone an XSS payload after sanitization so that unsanitized markup inside is returned. This issue is fixed in version 3.4.5.
Severity (CVSS)
| Base score | 8.2 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| cure53 | DOMPurify | >= 3.4.4, < 3.4.5 |
References
- https://github.com/cure53/DOMPurify/security/advisories/GHSA-87xg-pxx2-7hvx (x_refsource_CONFIRM)
- https://github.com/cure53/DOMPurify/commit/011b0c78f2a0f57ee54f5fcccb697a46ca6e63ea (x_refsource_MISC)
- https://github.com/cure53/DOMPurify/releases/tag/3.4.5 (x_refsource_MISC)
Generated from the official CVE List on 15 Jul 2026 07:06 UTC.