CVE-2021-32052: XSS
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.
Affected Software
Remediation
Patch Available
Patch Available
Event History
Frequently Asked Questions
What is the vulnerability ID for this Django vulnerability?
The vulnerability ID for this Django vulnerability is CVE-2021-32052.
What is the severity of CVE-2021-32052?
The severity of CVE-2021-32052 is medium with a CVSS score of 6.1.
What is the affected software for CVE-2021-32052?
The affected software for CVE-2021-32052 includes Django versions 2.2 before 2.2.22, 3.1 before 3.1.10, and 3.2 before 3.2.2 (with Python 3.9.5+).
How does CVE-2021-32052 impact applications?
CVE-2021-32052 can lead to header injection if an application uses values with newlines in an HTTP response.
Where can I find more information about CVE-2021-32052?
You can find more information about CVE-2021-32052 in the references provided: [Reference 1](http://www.openwall.com/lists/oss-security/2021/05/06/1), [Reference 2](https://docs.djangoproject.com/en/3.2/releases/security/), [Reference 3](https://groups.google.com/forum/#!forum/django-announce).