What’s Vulnerable › Vulnerabilities
CVE-2025-48432: Django Improper Output Neutralization for Logs vulnerability
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-05 · updated 2026-06-17
- Weakness: CWE-117
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
- Debian Linux: 11.0
- Django: from 4.2 before 4.2.23; from 5.1 before 5.1.11; from 5.2 before 5.2.3 — fixed in 4.2.23, 5.1.11, 5.2.3
- Pypi Django: from 5.2 before 5.2.2; from 5.0a1 before 5.1.10; before 4.2.22; 5.2, 5.2.1, 5.0, 5.0.1, 5.0.10, 5.0.11 (+385) — fixed in 5.2.2, 5.1.10, 4.2.22
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
- 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
Get alerted when CVE-2025-48432 or the next vulnerability affects your stack