VDB

PYSEC-2025-47

PYSEC-2025-47 PUBLISHED

Record from OSV · Published June 5, 2025

django is fixed in 5.2.2, 5.1.10 and 4.2.22 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
djangoPyPI5.2.2, 5.1.10, 4.2.22

Affected products

VendorProductVersions
PyPIdjango5.2, 4.2, 4.2.11

Timeline

  • Jun 5, 2025 CVE Published
  • Sep 25, 2025 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln PYSEC-2025-47
vulnetix vdb fixes PYSEC-2025-47

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/PYSEC-2025-47/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›