CVE Explorer
CVE-2026-49458
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.4.6, DOMPurify.sanitize(node, { IN_PLACE: true }) accepted same-origin foreign-realm DOM nodes while follow-on checks used parent-realm constructors, causing instanceof checks for forms, named node maps, document fragments, and elements to fail and skip clobber, template-content, and shadow-DOM sanitization branches so executable markup could survive. This issue is fixed in version 3.4.6.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/problemTypes/2/descriptions/0
{"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:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-501","description":"CWE-501: Trust Boundary Violation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"DOMPurify","vendor":"cure53","versions":[{"status":"affected","version":"< 3.4.6"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/problemTypes/2/descriptions/0
{"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:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-501","description":"CWE-501: Trust Boundary Violation","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaae","tags":["x_refsource_MISC"],"url":"https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaae"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/references/1
{"name":"https://github.com/cure53/DOMPurify/releases/tag/3.4.6","tags":["x_refsource_MISC"],"url":"https://github.com/cure53/DOMPurify/releases/tag/3.4.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/references/2
{"name":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:77ea48fe5defbaaae28e1658af7e3beea6a56ad35da7468e1af7213c1f2523f6 · sha256:d66a83136d7b6f53… · /containers/adp/0/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.