6.1

CVE-2021-32052: djangoproject django

Modified
AliasesGHSA-qm57-vhq3-3fwfBIT-django-2021-32052PYSEC-2021-8
Published 06-05-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-32052 is a medium (CVSS 6.1) vulnerability in djangoproject django. EPSS estimates a 3.17% chance of exploitation in the next 30 days, higher than 88% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
3.17%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 12 · Related 11

Timeline

  1. 06-05-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 4 sources · 3 versions

EPSS trend

Probability

3.17%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

No change 0.00 pp

From 3.17% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • python-django< 2:2.2.22-1
Djangoproject1 product
  • django≥ 2.2, < 2.2.22 | ≥ 3.1, < 3.1.10 | ≥ 3.2, < 3.2.2
Fedoraproject1 product
PyPI1 product
  • django≥ 2.2, < 2.2.22 | ≥ 3.1, < 3.1.10 | ≥ 3.2, < 3.2.2
Ubuntu1 product
  • python-django< 1:1.11.11-1ubuntu1.17 | < 2:2.2.12-1ubuntu0.7

5 vendors · 5 products

References

24 links
Show all 24 references