GHSA-7xr5-9hcq-chf9
Django Improper Output Neutralization for Logs vulnerability
At a glance
- Published
- Updated
- CVE
- CVE-2025-48432
- Aliases
- BIT-django-2025-48432, PYSEC-2025-47
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
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.
Affected packages
| Package | Versions |
|---|---|
| PyPI · django | introduced 5.2, fixed 5.2.2 |
| PyPI · django | introduced 5.0a1, fixed 5.1.10 |
| PyPI · django | introduced 0, fixed 4.2.22 |
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
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |