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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
djangoproject Django
Default version status: unknown
4.2 to < 4.2.23affected5.1 to < 5.1.11affected5.2 to < 5.2.3affected
References
- https://docs.djangoproject.com/en/dev/releases/security/ ↗
- https://groups.google.com/g/django-announce ↗
- https://www.djangoproject.com/weblog/2025/jun/04/security-releases/ ↗
- https://www.djangoproject.com/weblog/2025/jun/10/bugfix-releases/ ↗
- http://www.openwall.com/lists/oss-security/2025/06/04/5 ↗
- http://www.openwall.com/lists/oss-security/2025/06/10/2 ↗
- http://www.openwall.com/lists/oss-security/2025/06/10/3 ↗
- http://www.openwall.com/lists/oss-security/2025/06/10/4 ↗