Cross-site scripting in Bleach - #VU133466
Published: June 8, 2026
Bleach
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary script in the victim's browser.
The vulnerability exists due to cross-site scripting in Bleach clean() / Cleaner() sanitization of allowed formaction attributes when sanitizing untrusted HTML that includes submit-capable controls with allowed formaction attributes. A remote attacker can supply crafted HTML containing a dangerous javascript: URI in a formaction attribute to execute arbitrary script in the victim's browser.
User interaction is required to activate the affected submit control, and only configurations that explicitly allow the relevant tag and attribute combination are vulnerable.