Django Improper Output Neutralization for Logs vulnerability
Moderate severity
GitHub Reviewed
Published
Jun 5, 2025
to the GitHub Advisory Database
•
Updated Jun 6, 2025
Package
Affected versions
>= 5.2, < 5.2.2
>= 5.0a1, < 5.1.10
< 4.2.22
Patched versions
5.2.2
5.1.10
4.2.22
Description
Published by the National Vulnerability Database
Jun 5, 2025
Published to the GitHub Advisory Database
Jun 5, 2025
Reviewed
Jun 6, 2025
Last updated
Jun 6, 2025
An issue was discovered in Django 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. This may lead to log injection or forgery when logs are viewed in terminals or processed by external systems.
References