Skip to content
OpenAdvisories
Medium · 4.4 CVE-2026-75526 EUVD-2026-63571GHSA-hvq6-2r72-p2x7PYSEC-2026-3825

django CMS: Stored XSS in edit-mode plugin exception rendering

Published Aug 20, 2026 · Updated Aug 20, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
django-cms django-cms >= 5.0.8, < 5.0.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI django-cms >= 5.0.8, < 5.0.9 5.0.9 GHSA-hvq6-2r72-p2x7

References