—
PYSEC-2020-27
Quick fix
PYSEC-2020-27 — bleach: upgrade to the fixed version with the command below.
pip install --upgrade 'bleach>=3.1.1'Details
In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/mozilla/bleach/security/advisories/GHSA-q65m-pv3f-wr5r[ADVISORY]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OCNLM2MGQTOLCIVVYS2Z5S7KOQJR5JC4/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/72R4VFFHDRSQMNT7IZU3X2755ZP4HGNI/[WEB]
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YTULPQB7HVPPYWEYVNHJGDTSPVIDHIZX/[WEB]
- https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach[ARTICLE]
- https://advisory.checkmarx.net/advisory/CX-2020-4276[ADVISORY]