Cyber Resilience

CVE-2025-48432

Djangoproject Django 4.2 – 4.2.23

Published
05 June 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 4.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
EPSS Score 0.0063 47th percentile
Risk Priority 35 floored blend · peak EPSS

Summary

CVE-2025-48432 is a medium-severity Improper Output Neutralization for Logs (CWE-117) vulnerability in Djangoproject Django. Its CVSS base score is 4.0 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Indicator Removal (T1070); ranked at the 47th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SI-10 (Information Input Validation) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

log injection or forgery when logs are viewed in terminals or processed by external systems.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1070 Indicator Removal Stealth
Adversaries may selectively delete or modify artifacts generated to reduce indications of their presence and blend in with legitimate activity.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-26699Same product: Debian Debian Linux
CVE-2023-24580Same product: Debian Debian Linux
CVE-2024-56374Same product: Debian Debian Linux
CVE-2023-23969Same product: Debian Debian Linux
CVE-2023-36053Same product: Debian Debian Linux
CVE-2024-52962Shared CWE-117
CVE-2025-36081Shared CWE-117
CVE-2024-35150Shared CWE-117
CVE-2024-7696Shared CWE-117
CVE-2025-25294Shared CWE-117

Affected Assets

djangoproject
django
4.2 — 4.2.23 · 5.1 — 5.1.11 · 5.2 — 5.2.3
debian
debian linux
11.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation can discover missing or incorrect output neutralization when log messages are constructed from untrusted input.

Input validation reduces the chance that specially crafted data reaches log-message construction routines.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices and coding standards directly require output sanitization for logs.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can detect log injection flaws but does not prevent them at the source.

A.8.15 Logging partial match
degrades

Logging control directly requires proper log generation and handling, which mitigates improper output neutralization.

finds

Monitoring activities rely on trustworthy logs but do not ensure log message integrity.

prevents

Secure SDLC includes coding standards that reduce log-related weaknesses but does not specifically address logging.

prevents

Secure coding practices mandate input validation and output encoding, directly preventing log injection.

References