Upstream information
Description
An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.`django.contrib.admin.utils.display_for_field()` renders `URLField` values as clickable links in the admin without validating the URL. A value stored with an unsafe scheme is displayed as a link on changelist and read-only admin pages, which allows cross-site scripting against staff users who click the link.
Exploitation requires the unsafe value to already be stored in the database. `URLField` validation through a `ModelForm` or the admin rejects unsafe schemes, so this affects applications that persist `URLField` data without running model validation, for example through direct queryset writes, deserialization, or bulk import of untrusted input.
Django would like to thank Egor Saltykov for reporting this issue.
SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having moderate severity.
| CVSS detail | CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92) | SUSE |
|---|---|---|
| Base Score | 6.1 | 5.4 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Privileges Required | None | Low |
| User Interaction | Required | Required |
| Scope | Changed | Changed |
| Confidentiality Impact | Low | Low |
| Integrity Impact | Low | Low |
| Availability Impact | None | None |
| CVSSv3 Version | 3.1 | 3.1 |
| CVSS detail | CNA (6a34fbeb-21d4-45e7-8e0a-62b95bc12c92) | SUSE |
|---|---|---|
| Base Score | 5.1 | 5.1 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N |
| Attack Vector | Network | Network |
| Attack Complexity | Low | Low |
| Attack Requirements | None | None |
| Privileges Required | None | Low |
| User Interaction | Active | Passive |
| Vulnerable System Confidentiality Impact | None | Low |
| Vulnerable System Integrity Impact | None | Low |
| Vulnerable System Availability Impact | None | None |
| Subsequent System Confidentiality Impact | Low | Low |
| Subsequent System Integrity Impact | Low | Low |
| Subsequent System Availability Impact | None | None |
| CVSSv4 Version | 4.0 | 4.0 |
SUSE Security Advisories:
- SUSE-SU-2026:3503-1, published 2026-08-05T12:49:57Z
List of released packages
| Product(s) | Fixed package version(s) | References |
|---|---|---|
| SUSE Linux Enterprise Module for Package Hub 15 SP7 |
| Patchnames: SUSE-SLE-Module-Packagehub-Subpackages-15-SP7-2026-3503 |
| SUSE Package Hub 15 SP7 |
| Patchnames: openSUSE-2026-290 |
| openSUSE Leap 16.0 |
| Patchnames: openSUSE-Leap-16.0-packagehub-470 |
| openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2026-11464 openSUSE-Tumbleweed-2026-11465 openSUSE-Tumbleweed-2026-11491 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
| Product(s) | Source package | State |
|---|---|---|
| Products under general support and receiving all security fixes. | ||
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | python-Django | Released |
| SUSE Package Hub 15 SP7 | python3-Django | Released |
| Products past their end of life and not receiving proactive updates anymore. | ||
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | python-Django | Affected |
| openSUSE Leap 15.6 | python-Django | Released |
SUSE Timeline for this CVE
CVE page created: Wed Aug 5 15:31:50 2026CVE page last modified: Thu Aug 20 21:03:08 2026