GitHub Advisoryadvisory · PyPI
GHSA-7xr5-9hcq-chf9 Django Improper Output Neutralization for Logs vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2025-48432
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
- Weaknesses
- CWE-117
- Reviewed
- 2025-06-06
Affected packages
• PyPI Django: >= 5.2, < 5.2.2 → fixed in 5.2.2
• PyPI Django: >= 5.0a1, < 5.1.10 → fixed in 5.1.10
• PyPI Django: < 4.2.22 → fixed in 4.2.22
Description
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.
Related
Alias · CVE (1)
- CVE-2025-48432 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. vulnerability
Weakness · CWE (1)
- CWE-117 Improper Output Neutralization for Logs weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-48432 advisory
- https://docs.djangoproject.com/en/dev/releases/security web
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-47.yaml web
- https://groups.google.com/g/django-announce web
- https://www.djangoproject.com/weblog/2025/jun/04/security-releases web
- https://www.djangoproject.com/weblog/2025/jun/10/bugfix-releases web
- http://www.openwall.com/lists/oss-security/2025/06/04/5 web
- http://www.openwall.com/lists/oss-security/2025/06/10/2 web
- http://www.openwall.com/lists/oss-security/2025/06/10/3 web
- http://www.openwall.com/lists/oss-security/2025/06/10/4 web