CVE-2025-48432Djangoproject Django
Medium 5.3 No auth needed
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Jun 5, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-117
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 5.2 < 5.2.2 |
5.2.2 |
pip install "django>=5.2.2" |
| PyPI | django |
≥ 5.0a1 < 5.1.10 |
5.1.10 |
pip install "django>=5.1.10" |
| PyPI | django |
< 4.2.22 |
4.2.22 |
pip install "django>=4.2.22" |
| PyPI | django |
≥ 5.2 < 5.2.2 |
5.2.2 |
pip install "django>=5.2.2" |
| PyPI | django |
≥ 5.1 < 5.1.10 |
5.1.10 |
pip install "django>=5.1.10" |
| PyPI | django |
≥ 4.2 < 4.2.22 |
4.2.22 |
pip install "django>=4.2.22" |
Per OSV / GitHub Advisories (GHSA-7xr5-9hcq-chf9, PYSEC-2025-47). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 4.2 < 4.2.23 |
| djangoproject | django | ≥ 5.1 < 5.1.11 |
| djangoproject | django | ≥ 5.2 < 5.2.3 |
| debian | debian_linux | 11.0 |
Official advisories
- python313-Django5-5.2.16-1.1 on GA media · SUSE · openSUSE-SU-2026:11270-1 · Jul 14, 2026 Critical
- python312-Django6-6.0-1.1 on GA media · SUSE · openSUSE-SU-2026:10005-1 · Jan 3, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- docs.djangoproject.com Vendor Advisory
- groups.google.com Vendor Advisory
- www.djangoproject.com Vendor Advisory
- www.djangoproject.com Release Notes
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List