---
id: CVE-2026-45572
title: Decidim is a participatory democracy framework
summary: >-
  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 con…
severity: medium
cvss: 4.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-94
vendor: decidim-core
product: decidim-core
affected:
  - decidim-core < 0.30.9
  - 'decidim-core >= 0.31.0.rc1, < 0.31.5'
  - 'decidim-core >= 0.32.0.rc1, < 0.32.0'
patched:
  - decidim-core 0.30.9
  - decidim-core 0.31.5
  - decidim-core 0.32.0
published: '2026-08-06'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:51:43.490'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-45572'
references:
  - url: 'https://github.com/decidim/decidim/pull/16451'
    label: security-advisories@github.com
  - url: 'https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86'
    label: security-advisories@github.com
  - url: 'https://github.com/advisories/GHSA-533c-2vh9-4r86'
tags:
  - nvd
  - ghsa
  - rubygems
epss: 0.00251
epssPercentile: 0.14839
aliases:
  - GHSA-533c-2vh9-4r86
ecosystem: rubygems
ingestedAt: '2026-07-13T17:27:58.919Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-45572)

Affected packages:

- `decidim-core < 0.30.9`
- `decidim-core >= 0.31.0.rc1, < 0.31.5`
- `decidim-core >= 0.32.0.rc1, < 0.32.0`

Patched in:

- `decidim-core 0.30.9`
- `decidim-core 0.31.5`
- `decidim-core 0.32.0`

Source: https://github.com/advisories/GHSA-533c-2vh9-4r86
