CVE-2026-75838
DOMPurify before 3.4.13 Cross-Site Scripting via IN_PLACE hook
Description
DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean.
INFO
Published Date :
Aug. 18, 2026, 12:19 p.m.
Last Modified :
Aug. 18, 2026, 12:19 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | MEDIUM | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | MEDIUM | [email protected] |
Solution
- Update DOMPurify to version 3.4.13 or later.
- Ensure element-removal hooks properly neutralize detached subtrees.
- Validate HTML input for event handlers after sanitization.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-75838.
| URL | Resource |
|---|---|
| https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7 | |
| https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-hook |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-75838 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-75838
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-75838 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-75838 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Aug. 18, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'cure53', 'product': 'DOMPurify', 'versions': [{'status': 'affected', 'version': '0', 'lessThan': '3.4.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '3.4.13', 'versionType': 'semver'}], 'packageURL': 'pkg:npm/dompurify', 'defaultStatus': 'unaffected'}] Added Description DOMPurify before 3.4.13 contains a cross-site scripting vulnerability in IN_PLACE sanitization where element-removal hooks fail to neutralize detached subtrees. Attackers can supply HTML with event handlers on descendant elements that execute after sanitization completes, even though the returned root appears clean. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-79 Added Reference https://github.com/cure53/DOMPurify/security/advisories/GHSA-55q2-fjhq-7xh7 Added Reference https://www.vulncheck.com/advisories/dompurify-before-cross-site-scripting-via-in-place-hook