{"id":"CVE-2021-32052","url":"https://www.cyber-defence.io/tools/cve/CVE-2021-32052","generatedAt":"2026-10-27T22:24:41.887Z","title":"If an application uses values with newlines in an HTTP response, header injection can occur.","description":"In Django 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+), URLValidator does not prohibit newlines and tabs (unless the URLField form field is used). If an application uses values with newlines in an HTTP response, header injection can occur. Django itself is unaffected because HttpResponse prohibits newlines in HTTP headers.","published":"2021-05-06T16:15:08.000Z","lastModified":"2026-06-17T03:52:44.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},"cwe":["CWE-79"],"affected":["djangoproject/django","fedoraproject/fedora"],"epss":{"score":0.03172,"percentile":0.87948,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"low","text":"Lower severity and a low EPSS score (3.17%). Track it; it rarely justifies an emergency change on its own."},"changes":[],"references":[{"url":"http://www.openwall.com/lists/oss-security/2021/05/06/1","tags":["Mailing List","Patch","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://docs.djangoproject.com/en/3.2/releases/security/","tags":["Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"https://groups.google.com/forum/#%21forum/django-announce","source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/","source":"cve@mitre.org"},{"url":"https://security.netapp.com/advisory/ntap-20210611-0002/","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.djangoproject.com/weblog/2021/may/06/security-releases/","tags":["Patch","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://www.openwall.com/lists/oss-security/2021/05/06/1","tags":["Mailing List","Patch","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://docs.djangoproject.com/en/3.2/releases/security/","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://groups.google.com/forum/#%21forum/django-announce","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20210611-0002/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.djangoproject.com/weblog/2021/may/06/security-releases/","tags":["Patch","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-32052","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}