Skip to content
OpenAdvisories
Medium · 4.8 CVE-2026-45572 EUVD-2026-54251GHSA-533c-2vh9-4r86

Decidim: HTML content blocks allow stored script execution

Published Aug 6, 2026 · Updated Aug 7, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
decidim decidim < 0.30.9, >= 0.31.0.rc1, < 0.31.5, >= 0.32.0.rc1, < 0.32.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems decidim-core < 0.30.9 0.30.9 GHSA-533c-2vh9-4r86
RubyGems decidim-core >= 0.31.0.rc1, < 0.31.5 0.31.5 GHSA-533c-2vh9-4r86
RubyGems decidim-core >= 0.32.0.rc1, < 0.32.0 0.32.0 GHSA-533c-2vh9-4r86

References