You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag
Moderate severity
GitHub Reviewed
Published
Mar 17, 2020
in
mozilla/bleach
•
Updated Sep 12, 2024
Impact
A mutation XSS affects users calling
bleach.clean
with all of:svg
ormath
in the allowed/whitelisted tagsstrip=False
Patches
Users are encouraged to upgrade to bleach v3.1.2 or greater.
Workarounds
bleach.clean
calls to usestrip=True
, or not whitelistmath
orsvg
tags and one or more of the following tags:unsafe-inline
andunsafe-eval
script-src
s) will also help mitigate the risk.References
Credits
For more information
If you have any questions or comments about this advisory:
References