django
Affected
- introduced
5.2, fixed5.2.2(ecosystem)
Fixed versions
5.2.2
Fix
- Fixed version
5.2.2pip install --upgrade django==5.2.2
Advisory
Also known as: BIT-django-2025-48432, CVE-2025-48432, PYSEC-2025-47
Django Improper Output Neutralization for Logs vulnerability
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.
Medium Basis: The source's own band: MODERATE
5.2, fixed 5.2.2 (ecosystem)5.2.2
5.2.2pip install --upgrade django==5.2.25.0a1, fixed 5.1.10 (ecosystem)5.1.10
5.1.10pip install --upgrade django==5.1.100, fixed 4.2.22 (ecosystem)4.2.22
4.2.22pip install --upgrade django==4.2.22Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0