PyPA Advisory Database
PYSEC-2020-28
Details
In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | bleach | All versions before 3.1.2 (fixed in 3.1.2) |
References
- https://github.com/mozilla/bleach/security/advisories/GHSA-m6xf-fq7q-8743
- https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach
- https://lists.fedoraproject.org/archives/list/[email protected]/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5/
- https://advisory.checkmarx.net/advisory/CX-2020-4277