What’s Vulnerable › Vulnerabilities

CVE-2025-48432: Django Improper Output Neutralization for Logs vulnerability

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

How to fix

Upgrade to a fixed version: Django 4.2.23, 5.1.11, 5.2.3; Pypi Django 5.2.2, 5.1.10, 4.2.22. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-48432 or the next vulnerability affects your stack