{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-15920","id":"CVE-2026-15920","title":"Potential cross-site scripting via URLField values in the admin","description":"An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.\n`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.\r\nExploitation re","descriptionLong":"An issue was discovered in Django 5.2 before 5.2.17 and 6.0 before 6.0.8.\n`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.\r\nExploitation 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.\nDjango would like to thank Egor Saltykov for reporting this issue.","published":"2026-08-04T15:48:40.537Z","updated":"2026-11-11T10:30:26.055216634Z","reserved":"2026-07-15T20:32:49.882Z","status":"Analyzed","rejected":false,"assigner":"DSF","metric":{"version":"4.0","score":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","rating":"medium","source":"DSF"},"metrics":[{"version":"4.0","score":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","rating":"medium","source":"DSF"},{"version":"4.0","score":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","rating":"medium","source":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"DSF"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"6a34fbeb-21d4-45e7-8e0a-62b95bc12c92"}],"rating":"medium","products":["djangoproject Django"],"affectedProducts":[{"vendor":"djangoproject","product":"Django","defaultStatus":"unaffected","versions":[{"status":"affected","version":"6.0","lessThan":"6.0.8","versionType":"python"},{"status":"unaffected","version":"6.0.8","versionType":"python"},{"status":"affected","version":"5.2","lessThan":"5.2.17","versionType":"python"},{"status":"unaffected","version":"5.2.17","versionType":"python"}],"platforms":[]}],"packages":[],"cwes":["CWE-83"],"aliases":["BIT-django-2026-15920"],"references":[{"url":"https://docs.djangoproject.com/en/dev/releases/security/","tags":["vendor-advisory","Patch","Vendor Advisory","advisory"]},{"url":"https://groups.google.com/g/django-announce","tags":["mailing-list","Mailing List","article"]},{"url":"https://github.com/django/django/commit/47511a21026cdd721d8fbf8571cc079bc38bb46d","tags":["patch","Patch","fix"]},{"url":"https://github.com/django/django/commit/5a260d309a4c8010c2ebda24eb758a5d95e2508a","tags":["patch","Patch","fix"]},{"url":"https://github.com/django/django/commit/13debb622a32720bda1bccda7622fd14fbf3931b","tags":["patch","Patch","fix"]},{"url":"https://github.com/django/django/commit/b9adb81339cc418f8f56b1050cca6dfec3ab6349","tags":["patch","Patch","fix"]},{"url":"https://www.djangoproject.com/weblog/2026/aug/04/security-releases/","tags":["vendor-advisory","Vendor Advisory","advisory"]},{"url":"https://github.com/django/django/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/15xxx/CVE-2026-15920.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15920","tags":["advisory"]},{"url":"https://pypi.org/project/Django/","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00354,"epssPercentile":0.297,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-15920","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15920","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-15920","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-15920","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}