CVE Explorer
CVE-2026-41239
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-1289","description":"CWE-1289: Improper Validation of Unsafe Equivalence in Input","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"DOMPurify","vendor":"cure53","versions":[{"status":"affected","version":">= 1.0.10, < 3.4.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-1289","description":"CWE-1289: Improper Validation of Unsafe Equivalence in Input","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/cure53/DOMPurify/releases/tag/3.4.0","tags":["x_refsource_MISC"],"url":"https://github.com/cure53/DOMPurify/releases/tag/3.4.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/references/1
{"name":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-crv5-9vww-q3g8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-crv5-9vww-q3g8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:494c1452098741283cd12a305cdbb2a345d3392fffaec814d4550f5eccfc6b68 · sha256:b76ebde4cc6e8ad3… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.