{"api_version":"1","generated_at":"2026-04-24T18:31:23+00:00","cve":"CVE-2021-23980","urls":{"html":"https://cve.report/CVE-2021-23980","api":"https://cve.report/api/cve/CVE-2021-23980.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23980","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23980"},"summary":{"title":"CVE-2021-23980","description":"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.","state":"PUBLIC","assigner":"security@mozilla.org","published_at":"2023-02-16 22:15:00","updated_at":"2023-02-27 15:19:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980","name":"https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980","refsource":"MISC","tags":[],"title":"1689399 - (CVE-2021-23980) mXSS in Mozilla-bleach with p tag","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq","name":"https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq","refsource":"MISC","tags":[],"title":"mutation XSS via allowed math or svg, p, and style tags with strip_comments=False · Advisory · mozilla/bleach · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-23980","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23980","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"23980","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mozilla","cpe5":"bleach","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-23980","qid":"178537","title":"Debian Security Update for python-bleach (DLA 2620-1)"},{"cve":"CVE-2021-23980","qid":"178556","title":"Debian Security Update for python-bleach (DSA 4892-1)"},{"cve":"CVE-2021-23980","qid":"179873","title":"Debian Security Update for python-bleach (CVE-2021-23980)"},{"cve":"CVE-2021-23980","qid":"502166","title":"Alpine Linux Security Update for py3-bleach"},{"cve":"CVE-2021-23980","qid":"750269","title":"OpenSUSE Security Update for python-bleach (openSUSE-SU-2021:0552-1)"},{"cve":"CVE-2021-23980","qid":"980644","title":"Python (pip) Security Update for bleach (GHSA-vv2x-vrpj-qqpq)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@mozilla.org","ID":"CVE-2021-23980","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Mozilla Bleach","version":{"version_data":[{"version_affected":"<","version_value":"3.3.0"}]}}]},"vendor_name":"Mozilla"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":" 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"}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq","name":"https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq"},{"refsource":"MISC","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980","name":"https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980"}]},"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2023-02-16 22:15:00","lastModifiedDate":"2023-02-27 15:19:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"23980","Ordinal":"198736","Title":"CVE-2021-23980","CVE":"CVE-2021-23980","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"23980","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}