CVE-2025-48432: Django: Potential log injection via unescaped quest path

Published Jun 4, 2025
·
Updated

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.

Other sources

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.

NVD

Affected Software

10 affected componentsFixes available
Django Django<5.2.2
Django Django<5.1.10
Django Django<4.2.22
pip/Django<4.2.22
4.2.22
pip/Django>=5.0a1<5.1.10
5.1.10
pip/Django>=5.2<5.2.2
5.2.2
djangoproject Django>=4.2<4.2.23
djangoproject Django>=5.1<5.1.11
djangoproject Django>=5.2<5.2.3
Debian Debian Linux=11.0

Event History

Jun 5, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·03:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
Affected Software
Advisory Published
via GitHub·03:30 AM
Data Sourced
via GitHub·03:30 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-48432?

CVE-2025-48432 is considered a medium severity vulnerability due to potential log injection or forgery risks.

2

How do I fix CVE-2025-48432?

To fix CVE-2025-48432, upgrade to Django versions 5.2.2, 5.1.10, or 4.2.22 or later.

3

What types of attacks can CVE-2025-48432 enable?

CVE-2025-48432 can enable attacks such as log injection and forgery through crafted URLs.

4

Which versions of Django are affected by CVE-2025-48432?

CVE-2025-48432 affects Django versions prior to 5.2.2, 5.1.10, and 4.2.22.

5

Is user authentication affected by CVE-2025-48432?

CVE-2025-48432 primarily affects internal HTTP response logging and does not directly impact user authentication.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203