NetSight
medium4.0

CVE-2025-48432

Django Improper Output Neutralization for Logs vulnerability

Impact

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

EcosystemPackageAffectedFixed in
pipDjango>= 5.2, < 5.2.25.2.2

Affected products

VendorProductAffected versions
DjangoprojectDjango
from 4.2 before 4.2.23
from 5.1 before 5.1.11
from 5.2 before 5.2.3
DebianDebian Linux
Version 11.0

Weakness classification

References