CVE Explorer
CVE-2026-41238
DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Versions 3.0.1 through 3.3.3 are vulnerable to a prototype pollution-based XSS bypass. When an application uses `DOMPurify.sanitize()` with the default configuration (no `CUSTOM_ELEMENT_HANDLING` option), a prior prototype pollution gadget can inject permissive `tagNameCheck` and `attributeNameCheck` regex values into `Object.prototype`, causing DOMPurify to allow arbitrary custom elements with arbitrary attributes
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:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-1321","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"DOMPurify","vendor":"cure53","versions":[{"status":"affected","version":">= 3.0.1, < 3.4.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /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:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-1321","description":"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/problemTypes/1/descriptions/0
Source references
3 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:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/references/1
{"name":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-v9jr-rg53-9pgp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-v9jr-rg53-9pgp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/cure53/DOMPurify/security/advisories/GHSA-v9jr-rg53-9pgp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c3fb57e2267ddb80ba0f1cbf30a6757a845560891790892a7cc00ccdccc30a02 · sha256:69fab3a2ab0dffa4… · /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.