NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-48432: Django Improper Output Neutralization for Logs vulnerability

mediumCVSS 3.1 4.0GHSA-7xr5-9hcq-chf9

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.

Published Jun 5, 2025 · Updated Jun 10, 2025

Affected packages

Django

Ecosystem
PyPI
Affected
>= 5.2, < 5.2.2
Fixed in
5.2.2
Check
pip show Django

Django

Ecosystem
PyPI
Affected
>= 5.0a1, < 5.1.10
Fixed in
5.1.10
Check
pip show Django

Django

Ecosystem
PyPI
Affected
< 4.2.22
Fixed in
4.2.22
Check
pip show Django

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries