Cyber Resilience

CVE-2026-53878

Djangoproject Django 5.2 – 5.2.16

Published
07 July 2026
Modified
09 July 2026
Patch / advisory
CVSS Score v4 5.3
Click a component to see what it means
Raw vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0033 25th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-53878 is a medium-severity Improper Neutralization of Line Delimiters (CWE-144) vulnerability in Djangoproject Django. Its CVSS base score is 5.3 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 25th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and SI-15 (Information Output Filtering) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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. Django would like to thank Bence Nagy for reporting this issue.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1659 Content Injection Initial Access
Adversaries may gain access and continuously communicate with victims by injecting malicious content into systems through online network traffic.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-64459Same product: Djangoproject Django
CVE-2025-13372Same product: Djangoproject Django
CVE-2024-39330Same product: Djangoproject Django
CVE-2024-53908Same product: Djangoproject Django
CVE-2026-1207Same product: Djangoproject Django
CVE-2026-1287Same product: Djangoproject Django
CVE-2025-59681Same product: Djangoproject Django
CVE-2024-42005Same product: Djangoproject Django
CVE-2020-7471Same product: Djangoproject Django
CVE-2025-57833Same product: Djangoproject Django

Affected Assets

djangoproject
django
5.2 — 5.2.16 · 6.0 — 6.0.7

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Input validation requires checking and neutralizing special elements such as line delimiters before further processing or forwarding.

Output filtering can neutralize line delimiters in data sent to downstream components.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input neutralization to block line-delimiter injection.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect the weakness but does not itself implement the neutralization.

prevents

Secure SDLC mandates input validation and sanitization that can prevent line-delimiter injection.

prevents

Application security requirements typically include rules for neutralizing special characters such as line delimiters.

prevents

Secure architecture principles encourage safe data handling but do not specifically address line-delimiter neutralization.

prevents

Secure coding standards directly require proper neutralization of line delimiters in input handling.

References