{"cve":"CVE-2026-53878","nvd":{"published":"2026-07-07T15:16:48.583","modified":"2026-10-25T20:10:00.147","status":"Analyzed","description":"An issue was discovered in Django 6.0 before 6.0.7 and 5.2 before 5.2.16.\n`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.\nEarlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected.\nDjango would like to thank Bence Nagy for reporting this issue.","cvss_v4":{"vector":"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","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-144"],"references":["https://docs.djangoproject.com/en/dev/releases/security/","https://groups.google.com/g/django-announce","https://www.djangoproject.com/weblog/2026/jul/07/security-releases/"],"products":["djangoproject:django"],"source":"nvd","synced_at":"2026-10-25T23:44:34.550481224+00:00"},"epss":{"cve":"CVE-2026-53878","score":0.00327,"percentile":0.25569,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-8qcx-xf44-272x","url":"https://osv.dev/vulnerability/GHSA-8qcx-xf44-272x","summary":"Django: DomainNameValidator permits newline characters that may enable HTTP header injection","modified":"2026-09-10T03:51:11.070082151Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":["<5.2.16"],"fixed":["5.2.16"]},{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=6.0.0 <6.0.7"],"fixed":["6.0.7"]}]},{"id":"PYSEC-2026-2092","url":"https://osv.dev/vulnerability/PYSEC-2026-2092","summary":"","modified":"2026-08-10T11:00:08.218338646Z","packages":[{"ecosystem":"PyPI","name":"django","purl":"pkg:pypi/django","ranges":[">=5.2 <5.2.16",">=6.0 <6.0.7"],"fixed":["5.2.16","6.0.7"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}