---
title: "CX-2020-4276"
date: "2020-02-25T07:00:00+00:00"
url: "https://checkmarx.com/zero/vulnerabilities/cx-2020-4276/"
---

# CX-2020-4276

[Disclosed vulnerabilities](https://checkmarx.com/zero/vulnerabilities/)

Fixed: Feb 19, 2020

CVE-2020-6802  **Published:** Feb 25, 2020

6.1 Medium Severity mozilla mxss python XSS

YN Yaniv Nizry  Reported by Checkmarx Zero

Details Overview

## Summary

Mutation XSS (mXSS) vulnerability in Mozilla-bleach when `noscript` tag is allowed in addition to one of the following tags: `title, textarea, script, style, noembed, noframes, iframe, xmp or comment`.

This occurs due to bleach utilizing its parser, html5lib, with `scripting=False`. In this case, the data of the noscript tags will be parsed as HTML, while the browser parses them as rawdata.  
This can cause arbitrary HTML and JavaScript codes to run on the victim’s browser.

## Product

Bleach before 3.1.1

## Impact

According to GitHub, more than 72,000 repositories are dependent on Bleach. Among them are major vendors, including multiple Fortune 500 tech companies.

## Steps to reproduce

```
>>> import bleach
>>> bleach.clean('<noscript><style></noscript><img src=x onerror=alert(1)>', tags=["noscript","style"])
```

### Expected result:

`<noscript><style></noscript><img src=x onerror=alert(1)></style></noscript>`

## Remediation

Update bleach dependency to 3.1.1 and above

## Credit

This issue was discovered and reported by Checkmarx SCA Security Researcher [Yaniv Nizry](https://twitter.com/ynizry).

## Resources

1. [Blog](https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach)
2. [Advisory](https://github.com/mozilla/bleach/security/advisories/GHSA-q65m-pv3f-wr5r)
3. Commit [f77e0f6](https://github.com/mozilla/bleach/commit/f77e0f6392177a06e46a49abd61a4d9f035e57fd)

0  Medium Severity CVSS v3.1 Score

   6.1

CVSS v3.1 Vectors- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Changed
- Confidentiality Impact: Low
- Integrity Impact: Low
- Availability Impact: None

Advisory Timeline1. Discovered Feb 13, 2020 Notified Mozilla
2. Fixed Feb 19, 2020 Fixed version v3.1.1 and an advisory on GitHub was released

## Explore more findings

[19 Nov 2026 CVE-2026-129292  PHP-FPM status endpoint XSS via unescaped user and script fields   5.3  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2026-129292/) [19 Nov 2026 CVE-2026-129538  PHP-CGI out-of-bounds read and write during PATH\_INFO correction   6.9  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2026-129538/) [22 Apr 2026 CVE-2026-42236  Unauthenticated Denial of Service in n8n via MCP Client Registration   8.7  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2026-4223/) [22 Apr 2026 CVE-2026-42230  n8n has Open Redirect in MCP OAuth Consent Flow   5.1  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2026-42230/) [27 Feb 2026 CVE-2026-27578  n8n Vulnerable to Stored XSS via Various Nodes   8.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2026-27578/) [26 Feb 2026 CVE-2026-27950  Use-after-free in FreeRDP SDL2   5.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2026-27950/) [27 Nov 2025 CVE-2025-34281  Stored Cross-Site Scripting (XSS) in ThingsBoard   6.2  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2025-34281/) [17 Jan 2025 CVE-2025-0825  HTTP Response Splitting in cpp-httplib   6.9  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2025-0825/) [17 Jun 2025 CVE-2025-6050  Stored Cross-Site Scripting (XSS) in Mezzanine CMS Admin Interface   4.8  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2025-6050/) [12 Dec 2024 CVE-2024-8374  Code Injection in UltiMaker Cura   7.8  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-8374/) [14 Nov 2024 CVE-2024-52526  Stored Cross-site Scripting in @LibreNMS/LibreNMS Services Tab   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-52526/) [14 Nov 2024 CVE-2024-51497  Stored Cross-site Scripting in @LibreNMS/LibreNMS Custom OID Tab   7.5  Visit the page](https://checkmarx.com/zero/vulnerabilities/cve-2024-51497/)
