{"id":"CVE-2026-45572","published":"2026-08-06T20:10:54Z","modified":"2026-08-07T17:09:19Z","title":"Decidim: HTML content blocks allow stored script execution","vendor":"decidim","product":"decidim","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00251,"percentile":0.10139,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/decidim/decidim/pull/16451","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":2.03},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"decidim","affectedVersions":[{"vendor":"decidim","product":"decidim","versions":["< 0.30.9",">= 0.31.0.rc1, < 0.31.5",">= 0.32.0.rc1, < 0.32.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T15:24:49.896609Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"decidim-core","vulnerableRanges":["<0.30.9",">=0.31.0.rc1, <0.31.5",">=0.32.0.rc1, <0.32.0"],"patched":["0.30.9","0.31.5","0.32.0"],"from":["GHSA-533c-2vh9-4r86"],"provenance":"source"}],"summary":{"text":"The flaw is a stored code injection issue in the HTML content block component of Decidim, a participatory democracy framework, where the HtmlCell#html_content method renders stored HTML without sanitization. An attacker who holds landing-page editing privileges can store arbitrary HTML and JavaScript in such a block, which then executes in the browsers of visitors to the page; the attacker needs high privileges and a visitor must interact with the page, and the attack does not require direct network access beyond the admin interface.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:11Z"},"euvd":{"id":"EUVD-2026-54251","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-23891","published":"2026-04-13","fixed":"0.31.1","kev":false},{"cve":"CVE-2026-40869","published":"2026-04-21","fixed":"0.31.1","kev":false,"link":{"from":"CVE-2026-40869","to":"CVE-2026-45572","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:decidim-core","fromFixed":"0.31.1","toFixed":"0.31.5","daysApart":107},{"kind":"version-step","provenance":"source","package":"RubyGems:decidim-core","fromFixed":"0.30.5","toFixed":"0.30.9","daysApart":107}]}},{"cve":"CVE-2026-45377","published":"2026-07-31","fixed":"0.32.0","kev":false},{"cve":"CVE-2026-45572","published":"2026-08-06","fixed":"0.32.0","kev":false},{"cve":"CVE-2026-45573","published":"2026-08-06","fixed":"0.32.0","kev":false}],"package":"RubyGems:decidim-core"}}