CVE-2026-41239cure53 DOMPurify
Medium 6.8 No auth needed
Follow: this CVE · cure53 · cure53 DOMPurify We alert you by email or Slack (account required).
- Priority
- 56
- CVSS 3.1
- 6.8
- EPSS
- —
- Auth required
- No
- Published
- Apr 23, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for DOMPurify.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | dompurify |
≥ 1.0.10 < 3.4.0 |
3.4.0 |
npm install dompurify@3.4.0 |
Per OSV / GitHub Advisories (GHSA-crv5-9vww-q3g8). Check the version in your lockfile before upgrading.
Affected products
- cure53 · DOMPurify
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.