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 }}
XSS in Bleach when noscript and raw tag whitelisted
Moderate severity
GitHub Reviewed
Published
Feb 19, 2020
in
mozilla/bleach
•
Updated Sep 13, 2024
Impact
A mutation XSS affects users calling
bleach.clean
withnoscript
and a raw tag (see below) in the allowed/whitelisted tags option.Patches
v3.1.1
Workarounds
bleach.clean
calls to not whitelistnoscript
and one or more of the following raw 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