# CVE-2026-41239

> Vulnerability · severity: **MEDIUM** (CVSS 6.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.

## Key facts

- **CVE ID:** CVE-2026-41239
- **Published:** 2026-04-23
- **CVSS severity:** MEDIUM
- **CVSS base score:** 6.8
- **CWE codes:** CWE-79, CWE-1289

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41239

## Citation

> AI Analytics. CVE-2026-41239. Retrieved 2026-07-16 from https://api.ai-analytics.org/cve/CVE-2026-41239. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*