Description
An issue was discovered in Django 5.2 before 5.2.3, 5.1 before 5.1.11, and 4.2 before 4.2.23. Internal HTTP response logging does not escape request.path, which allows remote attackers to potentially manipulate log output via crafted URLs. This may lead to log injection or forgery when logs are viewed in terminals or processed by external systems.
Problem types
CWE-117 Improper Output Neutralization for Logs
Product status
4.2 (custom) before 4.2.23
5.1 (custom) before 5.1.11
5.2 (custom) before 5.2.3
References
www.openwall.com/lists/oss-security/2025/06/04/5
www.openwall.com/lists/oss-security/2025/06/10/2
www.openwall.com/lists/oss-security/2025/06/10/3
www.openwall.com/lists/oss-security/2025/06/10/4
docs.djangoproject.com/en/dev/releases/security/
groups.google.com/g/django-announce
www.djangoproject.com/weblog/2025/jun/04/security-releases/
www.djangoproject.com/weblog/2025/jun/10/bugfix-releases/
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.