CVE-2021-23980 Cross-site scripting in Bleach
MediumCVSS 6.1
EPSS 0.48%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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 products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi bleach(PyPI) | < 3.3.0 | 3.3.0 |
| pypi bleach(PyPI) | = 0.1 | No fix listed |
| pypi bleach(PyPI) | = 0.1.1 | No fix listed |
| pypi bleach(PyPI) | = 0.1.2 | No fix listed |
| pypi bleach(PyPI) | = 0.2 | No fix listed |
| pypi bleach(PyPI) | = 0.2.1 | No fix listed |
| pypi bleach(PyPI) | = 0.2.2 | No fix listed |
| pypi bleach(PyPI) | = 0.3 | No fix listed |
| pypi bleach(PyPI) | = 0.3.1 | No fix listed |
| pypi bleach(PyPI) | = 0.3.3 | No fix listed |
| pypi bleach(PyPI) | = 0.3.4 | No fix listed |
| pypi bleach(PyPI) | = 0.5.0 | No fix listed |
| pypi bleach(PyPI) | = 0.5.1 | No fix listed |
| pypi bleach(PyPI) | = 1.0.0 | No fix listed |
| pypi bleach(PyPI) | = 1.0.1 | No fix listed |
| pypi bleach(PyPI) | = 1.0.2 | No fix listed |
| pypi bleach(PyPI) | = 1.0.3 | No fix listed |
| pypi bleach(PyPI) | = 1.0.4 | No fix listed |
| pypi bleach(PyPI) | = 1.1.0 | No fix listed |
| pypi bleach(PyPI) | = 1.1.1 | No fix listed |
| pypi bleach(PyPI) | = 1.1.2 | No fix listed |
| pypi bleach(PyPI) | = 1.1.3 | No fix listed |
| pypi bleach(PyPI) | = 1.1.4 | No fix listed |
| pypi bleach(PyPI) | = 1.1.5 | No fix listed |
| pypi bleach(PyPI) | = 1.2 | No fix listed |
Show 41 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi bleach(PyPI) | = 1.2.1 | No fix listed |
| pypi bleach(PyPI) | = 1.2.2 | No fix listed |
| pypi bleach(PyPI) | = 1.4 | No fix listed |
| pypi bleach(PyPI) | = 1.4.1 | No fix listed |
| pypi bleach(PyPI) | = 1.4.2 | No fix listed |
| pypi bleach(PyPI) | = 1.4.3 | No fix listed |
| pypi bleach(PyPI) | = 1.5.0 | No fix listed |
| pypi bleach(PyPI) | = 2.0.0 | No fix listed |
| pypi bleach(PyPI) | = 2.1 | No fix listed |
| pypi bleach(PyPI) | = 2.1.1 | No fix listed |
| pypi bleach(PyPI) | = 2.1.2 | No fix listed |
| pypi bleach(PyPI) | = 2.1.3 | No fix listed |
| pypi bleach(PyPI) | = 2.1.4 | No fix listed |
| pypi bleach(PyPI) | = 3.0.0 | No fix listed |
| pypi bleach(PyPI) | = 3.0.1 | No fix listed |
| pypi bleach(PyPI) | = 3.0.2 | No fix listed |
| pypi bleach(PyPI) | = 3.1.0 | No fix listed |
| pypi bleach(PyPI) | = 3.1.1 | No fix listed |
| pypi bleach(PyPI) | = 3.1.2 | No fix listed |
| pypi bleach(PyPI) | = 3.1.3 | No fix listed |
| pypi bleach(PyPI) | = 3.1.4 | No fix listed |
| pypi bleach(PyPI) | = 3.1.5 | No fix listed |
| pypi bleach(PyPI) | = 3.2.0 | No fix listed |
| pypi bleach(PyPI) | = 3.2.1 | No fix listed |
| pypi bleach(PyPI) | = 3.2.2 | No fix listed |
| pypi bleach(PyPI) | = 3.2.3 | No fix listed |
| debian/python-bleach(Debian:12) | < 3.2.1-2.1 | 3.2.1-2.1 |
| debian/python-bleach(Debian:13) | < 3.2.1-2.1 | 3.2.1-2.1 |
| debian/python-bleach(Debian:14) | < 3.2.1-2.1 | 3.2.1-2.1 |
| mozilla bleach | < 3.3.0 | 3.3.0 |
| alpine/py3-bleach(Alpine:v3.15) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.16) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.17) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.18) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.19) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.20) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.21) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.22) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.23) | < 3.3.0-r0 | 3.3.0-r0 |
| alpine/py3-bleach(Alpine:v3.24) | < 3.3.0-r0 | 3.3.0-r0 |
| Mozilla Bleach | < 3.3.0 | 3.3.0 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- advisory.checkmarx.net vendor-advisory
- bugzilla.mozilla.org
- bugzilla.mozilla.org exploit issue-tracking
- cure53.de
- github.com product
- github.com
- github.com
- pypi.org
- github.com
- Debian Security Tracker CVE-2021-23980 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking