SecurityContext

CVE-2026-65912: DOMPurify - Stored XSS

  • Cve: CVE-2026-65912
  • Name: DOMPurify - Stored XSS
  • Description: DOMPurify before 3.3.2 contains a URI validation bypass vulnerability when ADD_ATTR is provided as a predicate function via EXTRA_ELEMENT_HANDLING.attributeCheck. Attackers can supply a predicate that accepts specific attribute and tag combinations to bypass URI-safe validation, allowing unsafe protocols like javascript: to survive sanitization and execute as DOM-based XSS when the link is activated.
  • Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to DOM-based XSS attacks.
  • Remediation: Update to version 3.3.2 or later.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirements: Attacker must supply a crafted predicate function to bypass validation
  • 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.003
  • Epss percentile: 0.22868
  • Assignee: [email protected]
  • Published at: 2026-07-23T14:18:06Z
  • Age in days: 124
  • Modified at: 2026-10-24T13:10:00Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-65912
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

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

References

UrlSourceTags
https://github.com/cure53/DOMPurify/security/advisories/GHSA-cjmm-f4jc-qw8rnvdThird Party Advisory
https://www.vulncheck.com/advisories/dompurify-before-uri-validation-bypass-via-add-attrnvdThird Party Advisory

Products

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

Projects

RepositoryLink kindsIndexedUrl
cure53/dompurifypackage, releases, security_advisoryyes/v1/repositories/cure53/dompurify

Index

  • Repositories: 832
  • Repositories high signal: 593
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts