{"id":"CVE-2026-45572","summary":"Decidim: HTML content blocks allow stored script execution","details":"Decidim is a participatory democracy framework. Prior to 0.30.9, from 0.31.0 before 0.31.5, and in 0.32.0.rc1 before 0.32.0.rc2, an administrator with landing-page editing privileges can store arbitrary HTML and JavaScript in an HTML content block, which Decidim::ContentBlocks::HtmlCell#html_content renders without sanitization, causing the script to execute in visitors' browsers. This issue is fixed in versions 0.30.9, 0.31.5, and 0.32.0.rc2.","aliases":["GHSA-533c-2vh9-4r86"],"modified":"2026-10-28T02:31:09.983679894Z","published":"2026-08-06T20:10:54.774Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45572.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45572.json"},{"type":"ADVISORY","url":"https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45572"},{"type":"FIX","url":"https://github.com/decidim/decidim/pull/16451"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/decidim/decidim","events":[{"introduced":"0"},{"fixed":"899e5a43fa02b4709d95b63de7294289ea87cc41"},{"introduced":"c3bc51462268ff734342aac28f456ac77837d4c8"},{"fixed":"03d80881ac459127f0e11999c8a733cf78e78736"},{"introduced":"1f92fc97fd7186639617ce1b2ca53b6cbecb1eb8"},{"fixed":"f891077eb17bccc05afb1ba65c5c3073e811703c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"0.30.9"}]},{"source":"AFFECTED_FIELD","strategy":"StringRangeExpression","range":[{"introduced":"0.31.0.rc1"},{"fixed":"0.31.5"}]},{"range":[{"introduced":"0.32.0.rc1"},{"fixed":"0.32.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"}]}}],"versions":["v0.32.0.rc3","v0.32.0.rc2","v0.30.8","v0.31.4","v0.32.0.rc1","v0.30.7","v0.31.3","v0.30.6","v0.31.2","v0.31.1","v0.30.5","v0.30.4","v0.31.0","v0.30.3","v0.31.0.rc2","v0.30.2","v0.31.0.rc1","v0.30.1","v0.30.0","v0.30.0.rc3","v0.30.0.rc2","v0.30.0.rc1","v0.20.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.0","v0.0.8.1","v0.0.8","v0.0.7","v0.0.6","v0.0.5","v0.0.4","v0.0.3","v0.0.2","v0.0.1","v0.0.1.alpha9","v0.0.1.alpha8","v0.0.1.alpha7","v0.0.1.alpha6","v0.0.1.alpha5","v0.0.1.alpha4","v0.0.1.alpha3","v0.0.1.alpha2","v0.0.1.alpha1","v0.0.1.alpha"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45572.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N"}]}