# CVE-2026-45572: Decidim: HTML content blocks allow stored script execution

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-07-13T17:18:12.000Z
- Modified: 2026-09-08T20:51:43.490Z
- Also known as: GHSA-533c-2vh9-4r86
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- decidim decidim: < 0.30.9; >= 0.31.0.rc1, < 0.31.5; >= 0.32.0.rc1, < 0.32.0
- decidim-core (RubyGems): before 0.30.9; from 0.31.0.rc1 before 0.31.5; from 0.32.0.rc1 before 0.32.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/decidim/decidim/security/advisories/GHSA-533c-2vh9-4r86> (web)
- <https://github.com/decidim/decidim/pull/16451> (web)
- <https://github.com/decidim/decidim> (package)

## Sources

- CVE List: [CVE-2026-45572](https://www.cve.org/CVERecord?id=CVE-2026-45572), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-533c-2vh9-4r86](https://github.com/advisories/GHSA-533c-2vh9-4r86), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-45572](https://nvd.nist.gov/vuln/detail/CVE-2026-45572), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-45572 · Whole record: https://cve.day/CVE-2026-45572.json · Rebuilt by cve.day 2026-11-25T22:59:31.359Z
