CVE-2026-75526 django CMS: Stored XSS in edit-mode plugin exception rendering
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi django-cms(PyPI) | = 5.0.8; >= 5.0.8, < 5.0.9 | 5.0.9 | Fixed |
| django-cms | = >= 5.0.8, < 5.0.9 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi django-cms(PyPI) | >= 5.0.8, < 5.0.9 | 5.0.9 |
| pypi django-cms(PyPI) | = 5.0.8 | No fix listed |
| django-cms | = >= 5.0.8, < 5.0.9 | No fix listed |
References
- https://github.com/django-cms/django-cms/security/advisories/GHSA-hvq6-2r72-p2x7 vendor-advisory
- https://github.com/django-cms/django-cms/pull/8711 patch
- https://github.com/django-cms/django-cms/commit/b56a568844ff3702495945f73a31d0868285bf88 patch
- github.com product
- https://github.com/django-cms/django-cms/releases/tag/5.0.9
- pypi.org product
- github.com vendor-advisory
- nvd.nist.gov vendor-advisory
- ENISA EUVD EUVD-2026-63571 third-party-advisory