Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-53878— Header injection possibility since DomainNameValidator accepted newlines in input

CVSS 6.1 · Medium EPSS 0.22% · P12

Affected Version Matrix 4

VendorProductVersion RangeStatus
djangoprojectDjango6.0< 6.0.7affected
6.0.7unaffected
5.2< 5.2.16affected
5.2.16unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-53878

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Header injection possibility since DomainNameValidator accepted newlines in input
Source: NVD (National Vulnerability Database)
Vulnerability Description
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. Django would like to thank Bence Nagy for reporting this issue.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
行分隔符转义处理不恰当
Source: NVD (National Vulnerability Database)
Vulnerability Title
Django 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Django是Django团队开源的一套基于Python语言的开源Web应用框架。该框架包括面向对象的映射器、视图系统、模板系统等。 Django 6.0.7之前版本和5.2.16之前版本存在输入验证错误漏洞,该漏洞源于DomainNameValidator未禁止域名中的换行符,如果应用将含换行符的值用于HTTP响应,可能导致标头注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
djangoprojectDjango 6.0 ~ 6.0.7 -

II. Public POCs for CVE-2026-53878

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-53878

登录查看更多情报信息。

Vendor Advisories for CVE-2026-53878 (2)

Mailing List Discussions for CVE-2026-53878 (1)

Same Patch Batch · djangoproject · 2026-07-07 · 3 CVEs total

CVE-2026-538774.8 MEDIUMHeap buffer over-read in GDALRaster
CVE-2026-485884.2 MEDIUMPotential exposure of private data via cached Set-Cookie response

IV. Related Vulnerabilities

V. Comments for CVE-2026-53878

No comments yet


Leave a comment