A stored cross-site scripting vulnerability in Django admin affects Django 5.2 before 5.2.17 and 6.0 before 6.0.8. The vulnerable code path is django.contrib.admin.utils.display_for_field(), which rendered django.db.models.URLField values as clickable links in admin changelist views and read-only fields without validating that the stored value used a safe URL scheme. If an unsafe scheme was present in a persisted URLField value, the admin interface would generate an active hyperlink for it. This created a stored XSS condition against staff users who interacted with the rendered link. The issue does not normally arise through standard ModelForm or Django admin validation, because unsafe URL schemes are rejected there; it affects applications that persist URLField data without running model validation, such as through direct queryset writes, deserialization, or bulk import of untrusted input. Django fixed the issue by validating URLField values with URLValidator before rendering them as links and falling back to plain-text display when validation fails.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
No public exploits tracked yet. Mallory keeps watching.
No public exploit code observed for this vulnerability.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A stored cross-site scripting vulnerability in Django admin caused by auto-linking URLField values without validating the URL scheme, allowing a stored javascript: value to be rendered as a clickable link.
A moderate-severity stored XSS vulnerability in Django admin views caused by rendering URLField values as clickable links without validating that the URL scheme is safe.
A moderate-severity Django cross-site scripting vulnerability in admin rendering of URLField values, where unsafe URL schemes could be rendered as clickable links.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.