{"id":"CVE-2026-75526","state":"PUBLISHED","title":"django CMS: Stored XSS in edit-mode plugin exception rendering","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.","publishedAt":"2026-08-20T18:11:10.220Z","updatedAt":"2026-08-20T19:20:52.755Z","severity":{"score":4.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["django-cms django-cms"],"affected":[{"vendor":"django-cms","product":"django-cms","versions":[{"version":">= 5.0.8, < 5.0.9","status":"affected"}]}],"references":["https://github.com/django-cms/django-cms/security/advisories/GHSA-hvq6-2r72-p2x7","https://github.com/django-cms/django-cms/pull/8711","https://github.com/django-cms/django-cms/commit/b56a568844ff3702495945f73a31d0868285bf88","https://github.com/django-cms/django-cms/releases/tag/5.0.9"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/75xxx/CVE-2026-75526.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-75526","state":"PUBLISHED","datePublished":"2026-08-20T18:11:10.220Z","dateUpdated":"2026-08-20T19:20:52.755Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-17T20:49:21.600Z"},"containers":{"cna":{"title":"django CMS: Stored XSS in edit-mode plugin exception rendering","descriptions":[{"lang":"en","value":"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":[{"vendor":"django-cms","product":"django-cms","versions":[{"version":">= 5.0.8, < 5.0.9","status":"affected"}]}],"references":[{"url":"https://github.com/django-cms/django-cms/security/advisories/GHSA-hvq6-2r72-p2x7","name":"https://github.com/django-cms/django-cms/security/advisories/GHSA-hvq6-2r72-p2x7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/django-cms/django-cms/pull/8711","name":"https://github.com/django-cms/django-cms/pull/8711","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/commit/b56a568844ff3702495945f73a31d0868285bf88","name":"https://github.com/django-cms/django-cms/commit/b56a568844ff3702495945f73a31d0868285bf88","tags":["x_refsource_MISC"]},{"url":"https://github.com/django-cms/django-cms/releases/tag/5.0.9","name":"https://github.com/django-cms/django-cms/releases/tag/5.0.9","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-20T18:11:10.220Z"},"source":{"advisory":"GHSA-hvq6-2r72-p2x7","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-20T19:20:47.120348Z","id":"CVE-2026-75526","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-20T19:20:52.755Z"}}]}}}