Skip to main content

django CMS EUVDEUVD-2026-63571

| CVE-2026-75526 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-20 GitHub_M GHSA-hvq6-2r72-p2x7
4.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Store XSS payload in plugin field or page title
  2. Delivery
    Cause plugin rendering exception on affected placeholder
  3. Exploit
    Victim staff member opens affected page in edit mode
  4. Execution
    render_exception builds unescaped heading via mark_safe
  5. Impact
    Payload executes in victim's browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires three concurrent conditions: (1) The attacker holds at least low-privileged CMS editor access (PR:L per CVSS) sufficient to store a malicious payload in a plugin field contributing to get_short_description(), in an exception message context, or in a placeholder source string such as a page content title editable by that role. (2) A plugin rendering exception must be triggered during edit-mode rendering of the affected placeholder - this is not a default state and requires either a misconfigured plugin or a plugin the attacker can cause to raise an exception. (3) A second authenticated staff user (UI:R per CVSS) must load the affected page in CMS edit mode, activating the render_exception code path and causing the unescaped heading to render in their browser. The vulnerability is explicitly NOT mitigated by settings.DEBUG=False - the custom heading renders regardless of debug state. Exploitation is confined entirely to the CMS editing interface and has no impact on front-end visitors.

Impact

The CVSS 3.1 score of 4.4 (Medium) accurately reflects the constrained attack surface: AC:H captures the requirement that a plugin rendering exception must be triggered in edit mode - not a default state - while PR:L and UI:R together require both the attacker and a victim to hold authenticated staff sessions. The S:C (Scope Changed) metric is the most meaningful risk amplifier, as successful exploitation shifts impact to the victim's browser session, potentially enabling session hijacking or privilege escalation within the CMS admin interface. No EPSS score was provided in the input data, and the absence from CISA KEV indicates no empirical evidence of exploitation at scale; the dual-authentication requirement and exception-trigger dependency make opportunistic mass exploitation unlikely. The real-world priority is highest in multi-tenant editorial environments or organizations where not all CMS staff accounts are equally trusted - insider threat or compromised low-privileged editor accounts represent the realistic threat model here. This should not be dismissed solely on the basis of the medium CVSS score in such environments, but it is a low-urgency finding for single-team deployments with fully trusted staff.

Exploit ScenarioDerived

An attacker with low-privileged CMS editor access stores an XSS payload such as '<img src=x onerror=alert(document.cookie)>' in a plugin field that populates get_short_description() or in a page title used as a placeholder source string. When a plugin rendering exception is subsequently triggered on a page containing that data, a second authenticated staff user visiting the affected placeholder in edit mode will have the payload execute in their browser, potentially exposing their session token or enabling further actions under their identity. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 20, 2026

Stored XSS in django CMS 5.0.8 allows an authenticated editor to execute arbitrary HTML in other staff users' browsers via the edit-mode plugin exception rendering path. When plugin rendering fails in edit mode, ContentRenderer.render_exception in cms/plugin_rendering.py interpolates attacker-controlled values - including get_short_description() output, exception messages, and placeholder source strings - into an HTML heading using an unsafe f-string, then returns the result through mark_safe, bypassing Django's autoescaping. No public exploit has been identified at time of analysis, and this vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade django CMS to version 5.0.9, confirmed fixed per the GitHub release at https://github.com/django-cms/django-cms/releases/tag/5.0.9 and applied in commit b56a568844ff3702495945f73a31d0868285bf88 via pull request https://github.com/django-cms/django-cms/pull/8711. The fix replaces the unsafe f-string with format_html() in cms/plugin_rendering.py, HTML-escaping all user-controlled values before they are returned as safe markup. Until patching is feasible, the vendor recommends restricting edit-mode access to fully trusted staff only, specifically preventing untrusted editors from managing plugin fields that contribute to get_short_description() - note this workaround does not fully eliminate exposure, since placeholder source strings (such as page content titles) and exception messages may still carry attacker-influenced content independently of plugin field controls.

Affected VersionsENISA

django-cms 5.0.8, < 5.0.9

Affected Packages

pypi django-cms fix: 5.0.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw resides in ContentRenderer.render_exception within cms/plugin_rendering.py of django CMS (CPE: cpe:2.3:a:django-cms:django-cms:*:*:*:*:*:*:*:*, version 5.0.8). Django's mark_safe() function instructs the template engine to treat a string as pre-escaped HTML, suppressing further autoescaping. The vulnerable code assembled the exception heading using a Python f-string, embedding unescaped user-controlled values before calling mark_safe. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause: plugin fields contributing to get_short_description(), page content titles feeding placeholder.source, and exception messages all represent stored, attacker-influenced data that were never HTML-escaped before being marked safe. The fix introduced in 5.0.9 via commit b56a568844ff3702495945f73a31d0868285bf88 replaces the f-string with Django's format_html(), which escapes substitution arguments before interpolation. The settings.DEBUG flag does not affect exploitability - it only controls whether Django's traceback HTML is appended; the custom unescaped heading is rendered in edit mode regardless.

Know when Django Cms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 4.4 MEDIUM

AV:N for web-accessible CMS; AC:H for exception-trigger requirement; PR:L for editor role; UI:R for victim interaction; S:C for browser scope change; C:L/I:L for session theft and DOM manipulation; A:N as no availability impact.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 20, 2026 - 19:03 EUVD

DescriptionCVE.org

django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. From 5.0.8 until 5.0.9, ContentRenderer.render_placeholder in cms/plugin_rendering.py can pass stored, attacker-controlled values to ContentRenderer.render_exception when plugin rendering fails in edit mode. Values from get_short_description(), the exception message, the placeholder, or placeholder.source are interpolated into a cms-rendering-exception heading and later returned through mark_safe. Because the heading is not escaped, stored HTML executes in an editor’s browser, and settings.DEBUG does not prevent the custom heading from rendering. The fix uses format_html to escape the message before safe placeholder output is returned. This issue is fixed in versions 5.0.9.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular enterprise Django CMS with significant install base
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy