{"id":"CVE-2025-48432","aliases":["GHSA-7xr5-9hcq-chf9","BIT-django-2025-48432","PYSEC-2025-47"],"title":"Django Improper Output Neutralization for Logs vulnerability","summary":"Django Improper Output Neutralization for Logs vulnerability","severity":"medium","cvss":4,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N","vendor":"django","product":"django","ecosystem":"pip","affected":["django >= 5.2, < 5.2.2","django >= 5.0a1, < 5.1.10","django < 4.2.22"],"patched":["django 5.2.2","django 5.1.10","django 4.2.22"],"published":"2025-06-05","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:25.160016024Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-7xr5-9hcq-chf9","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48432"},{"url":"https://docs.djangoproject.com/en/dev/releases/security"},{"url":"https://github.com/django/django"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-47.yaml"},{"url":"https://groups.google.com/g/django-announce"},{"url":"https://www.djangoproject.com/weblog/2025/jun/04/security-releases"},{"url":"https://www.djangoproject.com/weblog/2025/jun/10/bugfix-releases"},{"url":"http://www.openwall.com/lists/oss-security/2025/06/04/5"},{"url":"http://www.openwall.com/lists/oss-security/2025/06/10/2"},{"url":"http://www.openwall.com/lists/oss-security/2025/06/10/3"},{"url":"http://www.openwall.com/lists/oss-security/2025/06/10/4"}],"tags":["osv","pip"],"epss":0.00751,"epssPercentile":0.53064,"ingestedAt":"2026-09-12T03:13:01.674Z","slug":"CVE-2025-48432","body":"## Overview\n\nAn 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.\n\n## Affected packages\n\n- `django >= 5.2, < 5.2.2`\n- `django >= 5.0a1, < 5.1.10`\n- `django < 4.2.22`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `django 5.2.2`\n- `django 5.1.10`\n- `django 4.2.22`","depth":"sunlit","depthScore":22,"depthScoreParts":{"impact":22,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}