Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-15920— Potential cross-site scripting via URLField values in the admin

Quick assessment

Affected
djangoproject Django
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Django django是Django基金会开源的一个Web应用开发框架。 Django 5.2.17版本之前的5.2版本和6.0.8版本之前的6.0版本存在跨站脚本漏洞,该漏洞源于display_for_field函数在admin中渲染URLField值作为可点击链接时未验证URL,可能导致员工用户点击链接时遭受跨站脚本攻击。

CVSS 6.1 · Medium EPSS 0.35% · P27

Affected Version Matrix 4

VendorProduct Version RangeStatus
djangoproject Django 6.0< 6.0.8 affected
6.0.8 unaffected
5.2< 5.2.17 affected
5.2.17 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-15920

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Potential cross-site scripting via URLField values in the admin
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
Web页面属性中脚本转义处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Django 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Django django是Django基金会开源的一个Web应用开发框架。 Django 5.2.17版本之前的5.2版本和6.0.8版本之前的6.0版本存在跨站脚本漏洞,该漏洞源于display_for_field函数在admin中渲染URLField值作为可点击链接时未验证URL,可能导致员工用户点击链接时遭受跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
djangoproject Django 6.0 ~ 6.0.8 -

II. Public POCs for CVE-2026-15920

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-15920

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-15920 (4)

Vendor Advisories for CVE-2026-15920 (1)

Mailing List Discussions for CVE-2026-15920 (1)

Security Blog Posts for CVE-2026-15920 (1)

Same Patch Batch · djangoproject · 2026-08-04 · 4 CVEs total

CVE-2026-15307 8.8 HIGH Server-side file-write and request forgery via spatial lookups
CVE-2026-15337 5.3 MEDIUM Potential denial-of-service vulnerability in check_for_language()
CVE-2026-15830 5.3 MEDIUM Potential denial-of-service vulnerability via nested geometry collections

IV. Related Vulnerabilities

V. Comments for CVE-2026-15920

No comments yet


Leave a comment