Advisory record · GHSA-8qcx-xf44-272x

Django: DomainNameValidator permits newline characters that may enable HTTP header injection

CVSS 5.3 MediumEPSS 0.0033 · 25th percentile

Published by the GitHub Advisory Database at 7 Jul 2026, 15:32 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
djangoPyPI<5.2.16 || >=6.0.0, <6.0.75.2.16, 6.0.7
Identifiers
GHSA-8qcx-xf44-272x · BIT-django-2026-53878 · CVE-2026-53878 · PYSEC-2026-2092
Weakness (CWE)
CWE-144
Published
7 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Django versions 5.2 before 5.2.16 and 6.0 before 6.0.7 are affected. DomainNameValidator does not reject newline characters in domain names, so if an application places such a value into an HTTP response, an attacker who can supply the value may be able to inject HTTP headers. Django's own HttpResponse blocks newlines in headers, so Django itself is not affected. Upgrade to Django 5.2.16 or 6.0.7. Earlier unsupported series were not evaluated.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.3 Medium 4.0 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 CNA (DSF)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 25th percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.