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.
https://github.com/mozilla/bleach/security/advisories/GHSA-gj48-438w-jh9v
https://github.com/mozilla/bleach/blob/v6.4.0/bleach/sanitizer.py#L556
https://github.com/mozilla/bleach/blob/v6.4.0/bleach/_vendor/html5lib/filters/sanitizer.py#L525-L540
Published: 2026-12-04
Updated: 2026-12-04
Base Score: 7.5
Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P
Severity: High
Base Score: 4.7
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
Severity: Medium
Base Score: 2.3
Vector: 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
Severity: Low