Vulnerability Details : CVE-2021-23980
A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags style, title, noscript, script, textarea, noframes, iframe, or xmp in allowed tags the keyword argument strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.
Vulnerability category: Cross site scripting (XSS)
Products affected by CVE-2021-23980
- cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-23980
0.09%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 37 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-23980
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.1
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
2.8
|
2.7
|
NIST |
CWE ids for CVE-2021-23980
-
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-23980
-
https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq
mutation XSS via allowed math or svg; p or br; and style, title, noscript, script, textarea, noframes, iframe, or xmp tags with strip_comments=False · Advisory · mozilla/bleach · GitHubVendor Advisory
-
https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980
1689399 - (CVE-2021-23980) mXSS in Mozilla-bleach with p tagExploit;Issue Tracking
Jump to