Vulnerability · Published Sep 15, 2026 · Assigned by GitHub_M
CVE-2026-44282Election question titles allow stored script execution
Medium 4.8
In plain English
A medium-severity cross-site scripting in decidim from decidim. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Decidim is a participatory democracy framework. Prior to 0.32.0, a low-privilege process-scoped administrator or election editor with question-management rights can store HTML or script-bearing content in question.body. The question_title helper returns the translatable question body through html_safe without a sanitization boundary, causing stored script execution when visitors open public election pages or voting booth screens. The persisted script executes in visitors' browsers. The vulnerability is fixed in 0.32.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | decidim-elections | 0.32.0 | GHSA-9mvp-w4rr-5c6x |
Affected products (as reported)
Weakness: CWE-79 · Vector: 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-9mvp-w4rr-5c6x x_refsource_CONFIRM
- https://github.com/decidim/decidim/pull/16659 x_refsource_MISC
- https://github.com/decidim/decidim/pull/16669 x_refsource_MISC
- https://github.com/decidim/decidim/commit/64dbea3739f360f1eb36932dfc49d9686e61fc00 x_refsource_MISC
- https://github.com/decidim/decidim/commit/b6e1b003365d10c0df2bc7edc5edd26b62fafda1 x_refsource_MISC
- https://github.com/decidim/decidim/releases/tag/v0.32.0 x_refsource_MISC