cve.bz

CVE-2025-48432 Improper Output Neutralization for Logs

5.3 mediumEPSS 0.8%Fix available

Medium (5.3). EPSS 0.8% estimated probability of exploitation activity in the next 30 days. Fixed in django 4.2.22, 5.1.10, 5.2.2.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-06-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-117 Improper Output Neutralization for Logs
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-48432 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-48432?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-48432?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-48432 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
djangoproject Djangofrom 4.2 before 4.2.23
djangoproject Djangofrom 5.1 before 5.1.11
djangoproject Djangofrom 5.2 before 5.2.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7xr5-9hcq-chf9PyPIdjango>=5.2 <5.2.25.2.2
GHSA-7xr5-9hcq-chf9PyPIdjango>=5.0a1 <5.1.105.1.10
GHSA-7xr5-9hcq-chf9PyPIdjango<4.2.224.2.22
PYSEC-2025-47PyPIdjango>=5.2 <5.2.2
>=5.1 <5.1.10
>=4.2 <4.2.22
5.2.2, 5.1.10, 4.2.22

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11python-django2:2.2.28-1~deb11u7DLA-4210-1
Debian12python-django3:3.2.25-0+deb12u1DEBIAN-CVE-2025-48432 DSA-6136-1
Debian13, 14python-django3:4.2.23-1DEBIAN-CVE-2025-48432
Ubuntu22.04:LTSpython-django2:3.2.12-2ubuntu1.20UBUNTU-CVE-2025-48432 USN-7555-1
Ubuntu24.04:LTSpython-django3:4.2.11-1ubuntu1.9UBUNTU-CVE-2025-48432 USN-7555-1
Ubuntu25.10python-django3:5.2.4-1UBUNTU-CVE-2025-48432
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSpython-djangono fix listedUBUNTU-CVE-2025-48432
UbuntuPro:20.04:LTSpython-django2:2.2.12-1ubuntu0.29+esm2UBUNTU-CVE-2025-48432 USN-7555-1
Red Hatansible_automation_platform:2.5::el8automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.6.19-1.el8apRHSA-2025:14686
Red Hatansible_automation_platform:2.5::el8automation-controller-venv-tower0:4.6.20-1.el8apRHSA-2025:16487
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.11-django0:4.2.23-1.el8apRHSA-2025:14686
Red Hatansible_automation_platform:2.5::el8, ansible_automation_platform_developer:2.5::el8python3.11-django0:4.2.24-1.el8apRHSA-2025:16487
Red Hatansible_automation_platform:2.5::el9automation-controller, automation-controller-ui, automation-controller-cli and 2 more0:4.6.19-1.el9apRHSA-2025:14686
Red Hatansible_automation_platform:2.5::el9automation-controller-venv-tower0:4.6.20-1.el9apRHSA-2025:16487
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.11-django0:4.2.23-1.el9apRHSA-2025:14686
Red Hatansible_automation_platform:2.5::el9, ansible_automation_platform_developer:2.5::el9python3.11-django0:4.2.24-1.el9apRHSA-2025:16487
Red Hatansible_automation_platform_developer:2.5::el8automation-controller, automation-controller-cli0:4.6.19-1.el8apRHSA-2025:14686
Red Hatansible_automation_platform_developer:2.5::el9automation-controller, automation-controller-cli0:4.6.19-1.el9apRHSA-2025:14686
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7python-Django4.2.11-150600.3.24.1SUSE-SU-2025:01952-1
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Package Hub 15 SP7python-Django4.2.11-150600.3.27.1SUSE-SU-2025:02248-1
openSUSELeap 15.6python-Django4.2.11-150600.3.24.1SUSE-SU-2025:01952-1
openSUSELeap 15.6python-Django4.2.11-150600.3.27.1SUSE-SU-2025:02248-1
openSUSETumbleweedpython-Django5.2.2-1.1openSUSE-SU-2025:15267-1
openSUSETumbleweedpython-Django44.2.22-1.1openSUSE-SU-2025:15268-1
openSUSETumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSETumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1
Alpinev3.21, v3.22, v3.23 and 1 morepy3-django4.2.22-r0ALPINE-CVE-2025-48432

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The vulnerability allows for log injection via crafted URLs. While remote exploitation is possible without authentication (PR:N, UI:N), the attack requires a high degree of skill and knowledge to craft malicious URLs that will be logged. The impact is limited to confidentiality and integrity; specifically, the ability to manipulate log output. This allows an attacker to potentially forge log entries, which could be used for social engineering or to obscure malicious activity. While the impact isn't arbitrary code execution or a denial of service, the ability to manipulate logs presents a security risk, especially given that logs are often used for auditing and security monitoring. The Confidentiality impact is rated 'Low' as the information leaked is limited to the manipulated log entries themselves, not sensitive data. The Scope is changed to 'C' to reflect that the vulnerability affects only the logging component.

The current python-django issue may be resolved in an upcoming Satellite update.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.5 for RHEL 8python3.11-django-0:4.2.23-1.el8apFixed 2025-08-26RHSA-2025:14686
Red Hat Ansible Automation Platform 2.5 for RHEL 8automation-controller-0:4.6.20-1.el8apFixed 2025-09-23RHSA-2025:16487
Red Hat Ansible Automation Platform 2.5 for RHEL 9python3.11-django-0:4.2.23-1.el9apFixed 2025-08-26RHSA-2025:14686
Red Hat Ansible Automation Platform 2.5 for RHEL 9automation-controller-0:4.6.20-1.el9apFixed 2025-09-23RHSA-2025:16487
Red Hat Ansible Automation Platform 2aap-cloud-metrics-collector-containerNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Fix deferred
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/platform-resource-runner-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-chatbot-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/platform-resource-runner-rhel8Not affected
Red Hat Discovery 1discovery/discovery-server-rhel9Fix deferred
Red Hat Satellite 6python-djangoAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-48432.

Attack patterns (CAPEC)

  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-93 Log Injection-Tampering-Forging Likelihood: High · Severity: High
  • CAPEC-268 Audit Log Manipulation

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON