CVE-2026-145194
DESCRIPTION
Bleach through 6.4.0 contains a cross-site scripting vulnerability because clean() omits URI protocol sanitization for the object data attribute and legacy codebase, classid, code, and archive attributes. When applications allow the object tag with data, attackers can supply javascript:, data:text/html, or file: URIs that bypass allowed protocols, loading attacker-controlled content for victims.
CVSS
LOW 2.3 · v4.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:L/VI:L/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:XWEAKNESSES
REFERENCES
- https://github.com/mozilla/bleach/blob/v6.4.0/CHANGES#L7-L9
- https://github.com/mozilla/bleach/blob/v6.4.0/bleach/_vendor/html5lib/filters/sanitizer.py#L525-L540
- https://github.com/mozilla/bleach/blob/v6.4.0/bleach/sanitizer.py#L556
- https://github.com/mozilla/bleach/security/advisories/GHSA-gj48-438w-jh9v
- https://www.vulncheck.com/advisories/mozilla-bleach-through-6.4.0-uri-scheme-sanitization-bypass-via-object-data-attribute
- https://github.com/mozilla/bleach/security/advisories/GHSA-gj48-438w-jh9v
This record is mirrored from the NIST National Vulnerability Database and republished unchanged. It may have been revised or withdrawn since we last synced it; check the record at NVD before relying on it.