| Package | Affected versions | Patched versions |
|---|---|---|
| bleach | < 3.1.1 | 3.1.1 |
| bleach | < 3.1.1 | 3.1.1 |
A mutation XSS affects users calling bleach.clean with noscript and a raw tag (see below) in the allowed/whitelisted tags option.
v3.1.1
bleach.clean calls to not whitelist noscript and one or more of the following raw tags:title
textarea
script
style
noembed
noframes
iframe
xmp
unsafe-inline and unsafe-eval script-srcs) will also help mitigate the risk.If you have any questions or comments about this advisory:
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free