Vulnerability · Published Jun 5, 2025 · Assigned by mitre

CVE-2025-48432

Medium 4.0

In plain English

A medium-severity security flaw in Django from djangoproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.8%top 43.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21py3-django4.2.22-r0ALPINE-CVE-2025-48432
Alpine:v3.22py3-django4.2.22-r0ALPINE-CVE-2025-48432
Alpine:v3.23py3-django4.2.22-r0ALPINE-CVE-2025-48432
Alpine:v3.24py3-django4.2.22-r0ALPINE-CVE-2025-48432
Debian:12python-django3:3.2.25-0+deb12u1DSA-6136-1
Debian:12python-django3:3.2.25-0+deb12u1DEBIAN-CVE-2025-48432
Debian:13python-django3:4.2.23-1DEBIAN-CVE-2025-48432
Debian:14python-django3:4.2.23-1DEBIAN-CVE-2025-48432
PyPIdjango4.2.22GHSA-7xr5-9hcq-chf9
PyPIdjango4.2.22, 5.1.10, 5.2.2PYSEC-2025-47
PyPIdjango5.1.10GHSA-7xr5-9hcq-chf9
PyPIdjango5.2.2GHSA-7xr5-9hcq-chf9
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.19USN-7555-1
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.20UBUNTU-CVE-2025-48432
Ubuntu:24.04:LTSpython-django3:4.2.11-1ubuntu1.9UBUNTU-CVE-2025-48432
Ubuntu:24.04:LTSpython-django3:4.2.11-1ubuntu1.8USN-7555-1
Ubuntu:25.10python-django3:5.2.4-1UBUNTU-CVE-2025-48432

Affected products (as reported)

VendorProductVersions
djangoproject Django 4.2 – before 4.2.235.1 – before 5.1.115.2 – before 5.2.3

Weakness: CWE-117 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

References