{"api_version":"1","generated_at":"2026-04-24T18:30:08+00:00","cve":"CVE-2020-6817","urls":{"html":"https://cve.report/CVE-2020-6817","api":"https://cve.report/api/cve/CVE-2020-6817.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-6817","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-6817"},"summary":{"title":"CVE-2020-6817","description":"bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).","state":"PUBLIC","assigner":"security@mozilla.org","published_at":"2023-02-16 22:15:00","updated_at":"2023-02-28 14:46:00"},"problem_types":["CWE-1333"],"metrics":[],"references":[{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1623633","name":"https://bugzilla.mozilla.org/show_bug.cgi?id=1623633","refsource":"MISC","tags":[],"title":"1623633 - (CVE-2020-6817) Regular expression denial-of-service in mozilla/bleach BleachSanitizerFilter.sanitize_css gauntlet regular expression","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm","name":"https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm","refsource":"MISC","tags":[],"title":"regular expression denial-of-service (ReDoS) in BleachSanitizerFilter.sanitize_css gauntlet regular expression  · Advisory · mozilla/bleach · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-6817","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-6817","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"6817","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-2020-6817","qid":"750269","title":"OpenSUSE Security Update for python-bleach (openSUSE-SU-2021:0552-1)"},{"cve":"CVE-2020-6817","qid":"981571","title":"Python (pip) Security Update for bleach (GHSA-vqhp-cxgc-6wmm)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@mozilla.org","ID":"CVE-2020-6817","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Mozilla Bleach","version":{"version_data":[{"version_affected":"<","version_value":"3.1.4"}]}}]},"vendor_name":"Mozilla"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']})."}]},"generator":{"engine":"Vulnogram 0.0.9"},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"regular expression denial-of-service (ReDoS) in BleachSanitizerFilter.sanitize_css gauntlet regular expression "}]}]},"references":{"reference_data":[{"refsource":"MISC","url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm","name":"https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm"},{"refsource":"MISC","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=1623633","name":"https://bugzilla.mozilla.org/show_bug.cgi?id=1623633"}]},"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2023-02-16 22:15:00","lastModifiedDate":"2023-02-28 14:46:00","problem_types":["CWE-1333"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*","versionEndExcluding":"3.1.4","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"6817","Ordinal":"167085","Title":"CVE-2020-6817","CVE":"CVE-2020-6817","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"6817","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}]}}}