CVE-2025-48432

Medium

Description

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.

SeverityMedium
CVSS4.0
Exploit probability—
ProductDjango
PublishedJun 5, 2025
First seenJun 5, 2025
Weakness typeCWE-117CWE-117

How to fix

Update
  • djangoproject django4.2.23, 5.1.11, 5.2.3 or later
  • django5.2.2, 5.1.10, 4.2.22 or later

Affected products

ProductAffected versionsFixed in
djangoproject django4.2 ≤ v < 4.2.23, 5.1 ≤ v < 5.1.11, 5.2 ≤ v < 5.2.34.2.23, 5.1.11, 5.2.3
debian debian_linux11.0—
djangoPyPI5.2 ≤ v < 5.2.2, 5.0a1 ≤ v < 5.1.10, v < 4.2.22, 5.1 ≤ v < 5.1.10, 4.2 ≤ v < 4.2.225.2.2, 5.1.10, 4.2.22

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.