CVE-2026-66843
Last modified
CVE-2026-66843 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. Inclusion of Functionality from Untrusted Control Sphere vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to load a document of their choosing into a trusted page via the data attribute of an <object> element in sanitized HTML. object is the one URI-bearing element in lib/html_sanitize_ex/scrubber/html5.ex never registered through allow_tag_with_uri_attributes/3, and its only guard is a prefix match on lowercase "javascript:", so mixed-case variants, data: URIs, protocol-relative URLs and same-origin paths all survive. This is not unconditional cross-site scripting. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
Inclusion of Functionality from Untrusted Control Sphere vulnerability in the HTML5 scrubber in rrrene html_sanitize_ex allows a remote attacker to load a document of their choosing into a trusted page via the data attribute of an <object> element in sanitized HTML. object is the one URI-bearing element in lib/html_sanitize_ex/scrubber/html5.ex never registered through allow_tag_with_uri_attributes/3, and its only guard is a prefix match on lowercase "javascript:", so mixed-case variants, data: URIs, protocol-relative URLs and same-origin paths all survive. This is not unconditional cross-site scripting. A javascript: URL does not execute through <object data> in current browsers, data: documents load in an opaque origin, and host-origin script execution additionally requires the application to serve attacker-controlled content from a same-origin path. This issue affects html_sanitize_ex: from 0.3.1 before 1.5.3.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/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
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rrrene | Htmlsanitizeex | >= 0.3.1, < 1.5.3 |
References
- https://cna.erlef.org/cves/CVE-2026-66843.htmlPatch, Third Party Advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-66843Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-66843?
How severe is CVE-2026-66843?
How do I fix CVE-2026-66843?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-66829URL Redirection to Untrusted Site ('Open Redirect') vulnerab…6.1
- CVE-2026-6683FatFs R0.16 and earlier contains a divide-by-zero in exFAT s…4.6
- CVE-2026-66832When the Mira Android app opens in-app WebView content (e.g.…6.9
- CVE-2026-66838Improper Neutralization of Special Elements used in an SQL C…5.9
- CVE-2026-66839NetKids iMark, provided by Integrated Systems Technologies, …8.4
- CVE-2026-6684FatFs prior to R0.16 that use GPT scanning with 'FF_LBA64 = …4.6
- CVE-2026-6685Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-6686FatFs R0.16 and earlier contains an uninitialized cluster ex…4.6
- CVE-2026-6687FatFs R0.16 and earlier contains a stack overflow bug in f_g…7.6
- CVE-2026-66875In the Mira hormone monitor device firmware v1.7.1.47 build …8.8
- CVE-2026-66878A flaw was found in multicloud-operators-subscription. A pri…7.7
- CVE-2026-6688FatFs R0.16 and earlier contains a downstream-caller vulnera…7.6
Are you affected by CVE-2026-66843?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
