cvedb.io
CVE-2021-32052
MEDIUM · CVSS 6.1
EPSS exploitation probability: 0%
Published 2021-05-06T16:15:07.520 · Last modified 2026-06-17T03:52:43.533

Summary

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 products

djangoproject — django

Does this affect you?

Add your gear to cvedb and we'll alert you only when djangoproject ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.