Intel

AIKIDO-2026-530137

django-cms is vulnerable to Cross-Site Scripting (XSS)

CVE-2026-75526Published Jul 15, 2026
July 15, 2026

44

CVSS Score

Medium

Cross-Site Scripting (XSS)

Are you affected? Scan for Free

TL;DR

When plugin rendering fails in edit mode, ContentRenderer.render_exception in cms/plugin_rendering.py builds the cms-rendering-exception heading by interpolating the exception message, placeholder and source strings, and the plugin's get_short_description() directly into an HTML string, then returns that placeholder output as safe markup. Stored content that reaches those values is parsed as HTML in a staff user's browser when the plugin later raises during edit-mode rendering, producing stored cross-site scripting in the CMS editing context. Enabling DEBUG does not mitigate the issue because the custom heading renders regardless of the traceback HTML. The fix escapes the heading with format_html before returning it as safe markup.

How do I fix this?

Upgrade the django-cms library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

5.0.0 - 5.0.8

Fixed in 5.0.9

Background info

django-cms is vulnerable to Cross-Site Scripting (XSS) in versions 5.0.0 - 5.0.8.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea