GitHub Advisoryadvisory · PyPI

GHSA-7xr5-9hcq-chf9 Django Improper Output Neutralization for Logs vulnerability

MEDIUM Published 2025-06-05 Modified 2025-06-10 Official page ↗
Aliases
CVE-2025-48432
Ecosystem
PyPI
Packages
Django
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
Weaknesses
CWE-117
Reviewed
2025-06-06

Affected packages

• PyPI Django: >= 5.2, < 5.2.2 → fixed in 5.2.2 • PyPI Django: >= 5.0a1, < 5.1.10 → fixed in 5.1.10 • PyPI Django: < 4.2.22 → fixed in 4.2.22

Description

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.

Related

Alias · CVE (1)

  • CVE-2025-48432 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. vulnerability

Weakness · CWE (1)

  • CWE-117 Improper Output Neutralization for Logs weakness

References