Read the docs
TI-2026-47464 Aliases CVE-2026-66843GHSA-6g7x-33rf-28v3

html_sanitize_ex HTML5 scrubber keeps attacker-supplied `<object>` elements, allowing untrusted content embedding

Priority LOW 13CWE-829Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
Present
Impact type
Code execution
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-829.

Summary

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.4.5 and from 1.5.0-rc.0 before 1.5.3.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00512 43rd percentileScored 2026-11-07
Fix Fixed html_sanitize_ex (rrrene): 1.4.5, 1.5.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rrrenehtml_sanitize_ex0.3.1 to before 1.4.5; 1.5.0-rc.0 to before 1.5.31.4.5, 1.5.3Patch availableCNA
  • html_sanitize_ex Vendorrrrene Affected 0.3.1 to before 1.4.5; 1.5.0-rc.0 to before 1.5.3 Fixed in 1.4.5, 1.5.3 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:rrrene:htmlsanitizeex:*:*:*:*:*:*:*:*0.3.1 to before 1.5.3Vulnerablerrrene
  • cpe:2.3:a:rrrene:htmlsanitizeex:*:*:*:*:*:*:*:* Versions 0.3.1 to before 1.5.3 Vulnerable ·rrrene

Remediation

  • Fix · CNA html_sanitize_ex (rrrene) Fixed in 1.4.5, 1.5.3

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    rrrene html_sanitize_ex 1.4.5, 1.5.3

    5 records Highest priority Priority LOW 5 LOW

    Other records, highest priority first

    • TI-2026-48335 Quadratic sibling re-flattening in the html_sanitize_ex traversal engine allows CPU-exhaustion denial of servicePriority LOW 37
    • TI-2026-48334 Quadratic regex backtracking in the html_sanitize_ex CSS scrubber allows CPU-exhaustion denial of servicePriority LOW 37
    • TI-2026-47137 html_sanitize_ex HTML5 scrubber keeps attacker-supplied form-association attributes, allowing form hijackingPriority LOW 22

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-66843
  2. 2026-10-03 Alias added: GHSA-6g7x-33rf-28v3

References

  • TI-2026-48335 Quadratic sibling re-flattening in the html_sanitize_ex traversal engine allows CPU-exhaustion denial of service CVSS 4.0HIGH 8.2
  • TI-2026-48334 Quadratic regex backtracking in the html_sanitize_ex CSS scrubber allows CPU-exhaustion denial of service CVSS 4.0HIGH 8.2
  • TI-2026-47137 html_sanitize_ex HTML5 scrubber keeps attacker-supplied form-association attributes, allowing form hijacking CVSS 4.0MEDIUM 4.8
  • TI-2026-47457 html_sanitize_ex HTML5 scrubber keeps attacker-supplied meta refresh, allowing forced cross-origin redirection CVSS 4.0LOW 2.3
  • TI-2026-48333 CSS sanitizer allowlist bypass in html_sanitize_ex via non-declaration input CVSS 4.0LOW 2.3

Sources