ADVISORIES

Vulnerability

CVE-2021-32052

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.

15 advisories report this vulnerability, across 5 ecosystems.

Advisories

  • DEBIAN-CVE-2021-32052

    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…

    CVE-2021-32052 Debian Updated 23 October 2026
  • GHSA-qm57-vhq3-3fwf

    Header injection possible in Django

    Moderate CVE-2021-32052 PyPI Updated 20 September 2024
  • PYSEC-2021-8

    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…

    CVE-2021-32052 PyPI Updated 6 December 2023
  • UBUNTU-CVE-2021-32052

    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…

    CVE-2021-32052 Ubuntu Updated 4 February 2026
  • USN-4975-1

    python-django vulnerabilities

    CVE-2021-32052CVE-2021-33203CVE-2021-33571 Ubuntu Updated 10 February 2026
  • USN-5373-1

    python-django vulnerabilities

    CVE-2021-32052CVE-2022-28346CVE-2022-28347 Ubuntu Updated 10 February 2026
  • USN-5373-2

    python-django vulnerabilities

    CVE-2021-32052CVE-2022-28346 Ubuntu Updated 29 June 2026
  • openSUSE-SU-2023:0005-1

    Security update for python-Django

    CVE-2021-32052CVE-2021-33203CVE-2021-33571CVE-2021-44420 SUSEopenSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11205-1

    python36-Django-3.2.7-2.3 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:13887-1

    python310-Django-4.2.11-2.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14208-1

    python310-Django4-4.2.14-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11235-1

    python313-Django4-4.2.30-4.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 10 July 2026
  • openSUSE-SU-2026:11248-1

    python313-Django-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 11 July 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References