CVE-2026-49458: DOMPurify - Stored XSS
- Cve: CVE-2026-49458
- Name: DOMPurify - Stored XSS
- Description: 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.
- Impact: Attackers can bypass sanitization to execute malicious scripts, leading to cross-site scripting attacks.
- Remediation: Update to version 3.4.6 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: stored_xss
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00404
- Epss percentile: 0.35449
- Assignee: [email protected]
- Published at: 2026-07-14T21:17:01Z
- Age in days: 133
- Modified at: 2026-10-24T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-49458
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8 | nvd | 2026-07-14 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaae | Patch |
| https://github.com/cure53/DOMPurify/security/advisories/GHSA-hpcv-96wg-7vj8 | Exploit, Mitigation, Vendor Advisory |
| https://github.com/cure53/DOMPurify/releases/tag/3.4.6 | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cure53:dompurify | < 3.4.6 | no | nvd | /v1/products/cure53/dompurify |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| cure53/dompurify | commit, package, releases, security_advisory | yes | /v1/repositories/cure53/dompurify |
Index
- Repositories: 1019
- Repositories high signal: 745
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-07-14
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts