SecurityContext

CVE-2026-49459: DOMPurify - Stored XSS

  • Cve: CVE-2026-49459
  • 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(root, { IN_PLACE: true }) could preserve event-handler attributes on an attacker-controlled <form> root when a descendant name clobbered properties checked by _isClobbered, because _forceRemove no-opped on the parent-less root and _sanitizeAttributes returned early. This issue is fixed in version 3.4.6.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or data theft.
  • 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.00365
  • Epss percentile: 0.30928
  • 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-49459
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://github.com/cure53/DOMPurify/security/advisories/GHSA-r47g-fvhr-h676nvd2026-07-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/cure53/DOMPurify/commit/bb7739e5bccec7e1ab3dae3f3e42d02db3acaaaePatch
https://github.com/cure53/DOMPurify/security/advisories/GHSA-r47g-fvhr-h676Exploit, Mitigation, Vendor Advisory
https://github.com/cure53/DOMPurify/releases/tag/3.4.6Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
cure53:dompurify< 3.4.6nonvd/v1/products/cure53/dompurify

Projects

RepositoryLink kindsIndexedUrl
cure53/dompurifycommit, package, releases, security_advisoryyes/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
  • 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, hackerone reports, exposed hosts