Vulnerability advisory

GHSA-7xr5-9hcq-chf9

Django Improper Output Neutralization for Logs vulnerability

Published Updated OSV record ↗

Also known as BIT-django-2025-48432CVE-2025-48432PYSEC-2025-47

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N

Affected versions

AffectedFixed in
5.2 to before 5.2.25.2.2Advisories →
Also listed as affected (2)
5.0a1 to before 5.1.105.1.10Advisories →
Also listed as affected (31)
All versions before 4.2.224.2.22Advisories →
Also listed as affected (358)

Description

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

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools