Alpine Security Database
ALPINE-CVE-2021-23980
Details
A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags style, title, noscript, script, textarea, noframes, iframe, or xmp in allowed tags the keyword argument strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Alpine:v3.15 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.16 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.17 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.18 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.19 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.20 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.21 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.22 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.23 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |
| Alpine:v3.24 | py3-bleach | All versions before 3.3.0-r0 (fixed in 3.3.0-r0) |