CVE-2025-48432
MEDIUM 5.3CVSS 3.1Django Improper Output Neutralization for Logs vulnerability
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.
- Published
- 5 Jun 2025
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-117
- Also known as
- BIT-django-2025-48432GHSA-7xr5-9hcq-chf9PYSEC-2025-47
- Sources
- NVDJSONOSV GHSA-7xr5-9hcq-chf9JSONOSV PYSEC-2025-47JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 4.2, < 4.2.23 | 4.2.23 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.1, < 5.1.11 | 5.1.11 |
| NVD | djangoproject | djangocpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
>= 5.2, < 5.2.3 | 5.2.3 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 | |
| OSV | PyPI | django | >= 5.2, < 5.2.2 | 5.2.2 |
| OSV | PyPI | django | >= 5.0a1, < 5.1.10 | 5.1.10 |
| OSV | PyPI | django | < 4.2.22 | 4.2.22 |
| OSV | PyPI | django | >= 5.2, < 5.2.2; >= 5.1, < 5.1.10; >= 4.2, < 4.2.22 | 5.2.2, 5.1.10, 4.2.22 |
References
- https://docs.djangoproject.com/en/dev/releases/security/ · Vendor Advisory, WEB
- https://groups.google.com/g/django-announce · Vendor Advisory, WEB
- https://www.djangoproject.com/weblog/2025/jun/04/security-releases/ · Vendor Advisory, WEB, ARTICLE
- https://www.djangoproject.com/weblog/2025/jun/10/bugfix-releases/ · Release Notes, WEB
- http://www.openwall.com/lists/oss-security/2025/06/04/5 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/06/10/2 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/06/10/3 · Mailing List, Third Party Advisory, WEB
- http://www.openwall.com/lists/oss-security/2025/06/10/4 · Mailing List, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-48432 · ADVISORY
- https://github.com/django/django · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-47.yaml · WEB
- https://github.com/advisories/GHSA-7xr5-9hcq-chf9 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Jun 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 5 Jun 2025)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Jun 2025)