Live threats

All CVEs / Djangoproject

CVE-2025-48432Djangoproject Django

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Jun 5, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-117
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Django.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI django ≥ 5.2 < 5.2.2 5.2.2 pip install "django>=5.2.2"
PyPI django ≥ 5.0a1 < 5.1.10 5.1.10 pip install "django>=5.1.10"
PyPI django < 4.2.22 4.2.22 pip install "django>=4.2.22"
PyPI django ≥ 5.2 < 5.2.2 5.2.2 pip install "django>=5.2.2"
PyPI django ≥ 5.1 < 5.1.10 5.1.10 pip install "django>=5.1.10"
PyPI django ≥ 4.2 < 4.2.22 4.2.22 pip install "django>=4.2.22"

Per OSV / GitHub Advisories (GHSA-7xr5-9hcq-chf9, PYSEC-2025-47). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
djangoprojectdjango≥ 4.2 < 4.2.23
djangoprojectdjango≥ 5.1 < 5.1.11
djangoprojectdjango≥ 5.2 < 5.2.3
debiandebian_linux11.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.