{"id":"CVE-2026-75526","summary":"django CMS: Stored XSS in edit-mode plugin exception rendering","details":"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.","aliases":["GHSA-hvq6-2r72-p2x7","PYSEC-2026-3825"],"modified":"2026-10-28T02:30:50.361137881Z","published":"2026-08-20T18:11:10.220Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75526.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://github.com/django-cms/django-cms/releases/tag/5.0.9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75526.json"},{"type":"ADVISORY","url":"https://github.com/django-cms/django-cms/security/advisories/GHSA-hvq6-2r72-p2x7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-75526"},{"type":"FIX","url":"https://github.com/django-cms/django-cms/commit/b56a568844ff3702495945f73a31d0868285bf88"},{"type":"FIX","url":"https://github.com/django-cms/django-cms/pull/8711"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django-cms/django-cms","events":[{"introduced":"6da7840759c2b345a0e2fd4e796be001e681c6a4"},{"fixed":"d7eeb6526bd757cfcdf28122066f39803990c5e4"},{"fixed":"b56a568844ff3702495945f73a31d0868285bf88"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"5.0.8"},{"fixed":"5.0.9"}]},{"range":[{"fixed":"b56a568844ff3702495945f73a31d0868285bf88"}],"source":"REFERENCES_COMMIT"},{"source":"REFERENCES_TAG","original_tag":"5.0.9","range":[{"fixed":"d7eeb6526bd757cfcdf28122066f39803990c5e4"}]}]}}],"versions":["5.0.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-75526.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}