Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. bleach
  4. ›
  5. CVE-2020-6816

CVE-2020-6816: Cross-site Scripting

March 24, 2020 (updated September 12, 2024)

In Mozilla Bleach, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are in the allowlist with the keyword argument strip=False.

References

  • advisory.checkmarx.net/advisory/CX-2020-4277
  • github.com/advisories/GHSA-m6xf-fq7q-8743
  • github.com/mozilla/bleach
  • github.com/mozilla/bleach/releases/tag/v3.1.2
  • github.com/mozilla/bleach/security/advisories/GHSA-m6xf-fq7q-8743
  • github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2020-28.yaml
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5
  • nvd.nist.gov/vuln/detail/CVE-2020-6816
  • www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach

Code Behaviors & Features

Detect and mitigate CVE-2020-6816 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.2

Fixed versions

  • 3.1.2

Solution

Upgrade to version 3.1.2 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/bleach/CVE-2020-6816.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:27 +0000.