{"id":"CVE-2026-45572","state":"PUBLISHED","title":"Decidim: HTML content blocks allow stored script execution","description":"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.","publishedAt":"2026-08-06T20:10:54.774Z","updatedAt":"2026-08-07T17:09:19.361Z","severity":{"score":4.8,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["decidim decidim"],"affected":[{"vendor":"decidim","product":"decidim","versions":[{"version":"< 0.30.9","status":"affected"},{"version":">= 0.31.0.rc1, < 0.31.5","status":"affected"},{"version":">= 0.32.0.rc1, < 0.32.0","status":"affected"}]}],"references":["https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86","https://github.com/decidim/decidim/pull/16451"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:12:07.131Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/45xxx/CVE-2026-45572.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-45572","state":"PUBLISHED","datePublished":"2026-08-06T20:10:54.774Z","dateUpdated":"2026-08-07T17:09:19.361Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-12T19:00:14.600Z"},"containers":{"cna":{"title":"Decidim: HTML content blocks allow stored script execution","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"decidim","product":"decidim","versions":[{"version":"< 0.30.9","status":"affected"},{"version":">= 0.31.0.rc1, < 0.31.5","status":"affected"},{"version":">= 0.32.0.rc1, < 0.32.0","status":"affected"}]}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86","name":"https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/decidim/decidim/pull/16451","name":"https://github.com/decidim/decidim/pull/16451","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-06T20:10:54.774Z"},"source":{"advisory":"GHSA-533c-2vh9-4r86","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-07T15:24:49.896609Z","id":"CVE-2026-45572","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-07T17:09:19.361Z"}}]}}}