Vulnerability advisory
GHSA-7xr5-9hcq-chf9
Django Improper Output Neutralization for Logs vulnerability
Also known as BIT-django-2025-48432CVE-2025-48432PYSEC-2025-47
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Affected versions
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-48432 ↗
- Webdocs.djangoproject.com/en/dev/releases/security ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-47.yaml ↗
- Webgroups.google.com/g/django-announce ↗
- Webwww.djangoproject.com/weblog/2025/jun/04/security-releases ↗
- Webwww.djangoproject.com/weblog/2025/jun/10/bugfix-releases ↗
- Webwww.openwall.com/lists/oss-security/2025/06/04/5 ↗
- Webwww.openwall.com/lists/oss-security/2025/06/10/2 ↗
- Webwww.openwall.com/lists/oss-security/2025/06/10/3 ↗
- Webwww.openwall.com/lists/oss-security/2025/06/10/4 ↗