← Back to CVEs
CVE-2026-41239
MEDIUM6.8
Description
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Starting in version 1.0.10 and prior to version 3.4.0, `SAFE_FOR_TEMPLATES` strips `{{...}}` expressions from untrusted HTML. This works in string mode but not with `RETURN_DOM` or `RETURN_DOM_FRAGMENT`, allowing XSS via template-evaluating frameworks like Vue 2. Version 3.4.0 patches the issue.
CVE Details
CVSS v3.1 Score6.8
SeverityMEDIUM
CVSS VectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack VectorNETWORK
ComplexityHIGH
Privileges RequiredNONE
User InteractionREQUIRED
Published4/23/2026
Last Modified4/23/2026
Sourcenvd
Honeypot Sightings0
Weaknesses (CWE)
CWE-79CWE-1289
References
https://github.com/cure53/DOMPurify/releases/tag/3.4.0(security-advisories@github.com)
https://github.com/cure53/DOMPurify/security/advisories/GHSA-crv5-9vww-q3g8(security-advisories@github.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.