CVE Explorer
CVE-2026-53878
An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.
`DomainNameValidator` does not prohibit newlines in domain names (unless used via a form field, since `CharField` strips newlines). 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.
Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cvss · 2 assertions
{"metric":{"baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/metrics/1/cvssV3_1
{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/metrics/2/cvssV4_0
Affected products and versions
1 source assertion{"collectionURL":"https://pypi.org/project/Django/","defaultStatus":"unaffected","packageName":"django","product":"Django","repo":"https://github.com/django/django/","vendor":"djangoproject","versions":[{"lessThan":"6.0.7","status":"affected","version":"6.0","versionType":"python"},{"status":"unaffected","version":"6.0.7","versionType":"python"},{"lessThan":"5.2.16","status":"affected","version":"5.2","versionType":"python"},{"status":"unaffected","version":"5.2.16","versionType":"python"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/affected/0
Provider-owned CVSS observations
2 source assertions{"metric":{"baseScore":6.1,"baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/metrics/1/cvssV3_1
{"metric":{"baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/metrics/2/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-144","description":"CWE-144: Improper Neutralization of Line Delimiters","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"Django security archive","tags":["vendor-advisory"],"url":"https://docs.djangoproject.com/en/dev/releases/security/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/references/0
{"name":"Django releases announcements","tags":["mailing-list"],"url":"https://groups.google.com/g/django-announce"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/references/1
{"name":"Django security releases issued: 6.0.7 and 5.2.16","tags":["vendor-advisory"],"url":"https://www.djangoproject.com/weblog/2026/jul/07/security-releases/"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:6110f4633990f0a29b4134e4e6fc26de9b1c6e54d8081eb6d88a010fd2dc21d7 · sha256:8bb33fa538019044… · /containers/cna/references/2
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.