
Cloud Vulnerability DB
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
An issue was discovered in Django versions 5.2 before 5.2.2, 5.1 before 5.1.10, and 4.2 before 4.2.22. Internal HTTP response logging does not escape request.path, which allows remote attackers to potentially manipulate log output via crafted URLs. The vulnerability was discovered by Seokchan Yoon and publicly disclosed on June 4, 2025 (Django Announce, NVD).
The vulnerability stems from Django's internal HTTP response logging functionality which directly uses request.path without proper escaping. This allows control characters, including newlines and ANSI escape sequences, to be written unescaped into logs. The issue has been assigned a CVSS v3.1 score of 4.0 (Medium) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N. The vulnerability is classified as CWE-117: Improper Output Neutralization for Logs (NVD, OSS Security).
The vulnerability could enable log injection or forgery, allowing attackers to manipulate log appearance or structure. This is particularly concerning when logs are processed by external systems or viewed in terminals. While this does not directly impact Django's security model, it poses risks when logs are consumed or interpreted by other tools (OSS Security).
The issue has been fixed in Django versions 5.2.2, 5.1.10, and 4.2.22. The fix involves modifying the internal django.utils.log.log_response() function to escape all positional formatting arguments using a safe encoding. Users are encouraged to upgrade to the patched versions as soon as possible (Django Announce, Ubuntu Security).
The Django security team has classified this vulnerability as 'moderate' severity according to their security policy. Ubuntu has rated this as a low-priority security issue, noting that it only allows injecting ANSI characters into log files (Ubuntu CVE).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
An open project to list all known cloud vulnerabilities and Cloud Service Provider security issues
A comprehensive threat intelligence database of cloud security incidents, actors, tools and techniques
A step-by-step framework for modeling and improving SaaS and PaaS tenant isolation
Get a personalized demo
“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
“We know that if Wiz identifies something as critical, it actually is.”