---
id: CVE-2025-48432
aliases:
  - GHSA-7xr5-9hcq-chf9
  - BIT-django-2025-48432
  - PYSEC-2025-47
title: Django Improper Output Neutralization for Logs vulnerability
summary: Django Improper Output Neutralization for Logs vulnerability
severity: medium
cvss: 4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N'
vendor: django
product: django
ecosystem: pip
affected:
  - 'django >= 5.2, < 5.2.2'
  - 'django >= 5.0a1, < 5.1.10'
  - django < 4.2.22
patched:
  - django 5.2.2
  - django 5.1.10
  - django 4.2.22
published: '2025-06-05'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:25.160016024Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-7xr5-9hcq-chf9'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-48432'
  - url: 'https://docs.djangoproject.com/en/dev/releases/security'
  - url: 'https://github.com/django/django'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2025-47.yaml
  - url: 'https://groups.google.com/g/django-announce'
  - url: 'https://www.djangoproject.com/weblog/2025/jun/04/security-releases'
  - url: 'https://www.djangoproject.com/weblog/2025/jun/10/bugfix-releases'
  - url: 'http://www.openwall.com/lists/oss-security/2025/06/04/5'
  - url: 'http://www.openwall.com/lists/oss-security/2025/06/10/2'
  - url: 'http://www.openwall.com/lists/oss-security/2025/06/10/3'
  - url: 'http://www.openwall.com/lists/oss-security/2025/06/10/4'
tags:
  - osv
  - pip
epss: 0.00751
epssPercentile: 0.53548
ingestedAt: '2026-09-12T03:13:01.674Z'
---

## Overview

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.

## Affected packages

- `django >= 5.2, < 5.2.2`
- `django >= 5.0a1, < 5.1.10`
- `django < 4.2.22`

## Remediation

Upgrade to a patched release:

- `django 5.2.2`
- `django 5.1.10`
- `django 4.2.22`
