CVE-2026-66843: Inclusion of Functionality from Untrusted Control Sphere vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to
Affects html_sanitize_exSource GCVE Database
Not known to be exploited · CVSS 2.3 Low : upgrade to 1.5.3 when convenient.
Data as of 9 Nov 2026, 23:24 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.5.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 10 Nov 2026.
What to do
Upgrade html_sanitize_ex to 1.5.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Hexhtml_sanitize_expkg:hex/html_sanitize_exOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The vulnerability affects versions >=0.3.1 <1.5.3 and 1.5.0-rc.0, so upgrading to version 1.5.3 or later is implied to remediate the issue. Since this is a library, users should update to a fixed version once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory for current remediation guidance.
Description
CVE-2026-66843 is a low-severity vulnerability in the html_sanitize_ex library by rrrene. It involves the inclusion of functionality from an untrusted control sphere via the data attribute of an <object> element in sanitized HTML. This allows a remote attacker to load arbitrary documents into a trusted page. However, this is not unconditional cross-site scripting, as javascript: URLs do not execute through <object data> in current browsers, and data: documents load in an opaque origin. Exploitation requires the application to serve attacker-controlled content from a same-origin path.
References
- github.com/rrrene/html_sanitize_ex/security/advisories/GHSA-xmm9-jc22-rcgj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-66843 (opens in a new tab)
- github.com/rrrene/html_sanitize_ex/commit/bec27fec4de99e40c68c4285a610e09e791a3eaf (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-66843.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-66843 (opens in a new tab)
- github.com/rrrene/html_sanitize_ex/commit/ce038aa1af5a960d50f8eb5d368cc57bb2b9a9f0 (opens in a new tab)