mediumCVSS 4.4Vulnerability

CVE-2026-75526

## Summary When plugin rendering fails in edit mode, django CMS renders a `cms-rendering-exception` block so editors can see that a placeholder could not be rendered. Older code built that block's heading by interpolating the exception message, placeholder/source strings, and the failing plugin's short description directly into an HTML string, then returned the placeholder output as safe markup. If an editor could store HTML in data used by a plugin's `get_short_description()` (or in other values interpolated into the exception message), and that plugin later raised during edit-mode rendering, the payload was parsed as HTML in the staff user's browser. This is a stored XSS condition in the CMS editing context. ## Impact The vulnerable path is only reached when placeholder rendering catches a plugin rendering exception: ```python try: placeholder_content = "".join(plugin_content) except Exception as e: context["exc_info"] = sys.exc_info() placeholder_content = self.render_exception("rendering placeholder", context, placeholder, editable) ``` `render_exception()` constructs a `message` from values that can include stored content: - `value` - the exception message. - `placeholder` - the placeholder string representation. - `placeholder.source` - the source object string representation, such as page content. - `instance.get_short_description()` - plugin-provided summary text, often derived from plugin model fields. In the vulnerable implementation, that message was embedded directly into an HTML heading. The final placeholder content was later returned through `mark_safe`, so Django template autoescaping did not protect the heading. `settings.DEBUG` does not mitigate the issue: it only controls whether Django's traceback HTML is appended. The custom heading is rendered in edit mode regardless of `DEBUG`. ## Patch Escape the custom exception heading before returning it as safe placeholder markup. The current fixed code uses `format_html`, which esc

Properties

ghsa_id
GHSA-hvq6-2r72-p2x7
severity
medium
summary
django CMS: Stored XSS in edit-mode plugin exception rendering
cvss_score
4.4
cve_id
CVE-2026-75526
cvss_vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
is_ghsa_only
false
ghsa_published
2026-08-20T18:42:36Z
source_url
https://github.com/advisories/GHSA-hvq6-2r72-p2x7
ghsa_updated
2026-08-20T18:42:39Z

Related Entities (4)

VULNERABLE_TO (1)

[Software]pip/django-cms

AFFECTS (1)

[Software]pip/django-cms

REPORTED_BY (1)

[Source]GitHub Advisory Database

HAS_WEAKNESS (1)

[Weakness]Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-75526 (CVSS 4.4) — Ninja Signal Threat Intelligence | Ninja Signal