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.
Published: 2026-09-15
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS)
Action: Patch
AI Analysis

Impact

Decidim, a participatory democracy framework, contains a flaw in versions prior to 0.32.0 that allows a process‑scoped administrator or election editor with question‑management rights to store arbitrary HTML or script code in the question.body field. The question_title helper renders this content with html_safe and no sanitization, resulting in stored script execution when any visitor opens a public election page or voting booth screen. The injected script runs in the browser of anyone who views the election, giving the attacker a client‑side foothold, session hijacking or other browser‑based attacks, as defined by CWE‑79.

Affected Systems

The vulnerability exists in the Decidim participatory‑democracy framework in all releases earlier than 0.32.0 for users holding process‑scoped administrator or election editor roles that can manage question titles.

Risk and Exploitability

The CVSS score of 4.8 indicates a moderate impact; the EPSS score is < 1% and the flaw is not listed in CISA KEV. Because the attack requires only application‑level permissions that are normally granted to election editors, an internal attacker could easily inject malicious content. Once injected, the script runs unconditionally for every visitor, giving the attacker persistent, client‑side foothold.

Generated by OpenCVE AI on September 20, 2026 at 16:01 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Decidim to version 0.32.0 or later, which removes the unsanitized rendering of question titles
  • If an immediate upgrade is not possible, revoke or restrict the permission to edit question titles for low‑privilege roles and ensure titles are escaped or sanitized before storage
  • Implement a Content Security Policy that disallows inline scripts and whitelists trusted sources to mitigate potential XSS attempts

Generated by OpenCVE AI on September 20, 2026 at 16:01 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-9mvp-w4rr-5c6x decidim-elections: Election question titles allow stored script execution
History

Tue, 15 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 15 Sep 2026 17:15:00 +0000

Type Values Removed Values Added
First Time appeared Decidim
Decidim decidim
Vendors & Products Decidim
Decidim decidim

Tue, 15 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Election question titles allow stored script execution
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-09-15T16:05:47.457Z

Reserved: 2026-05-05T17:39:31.111Z

Link: CVE-2026-44282

cve-icon Vulnrichment

Updated: 2026-09-15T16:05:42.733Z

cve-icon NVD

Status : Deferred

Published: 2026-09-15T16:17:09.960

Modified: 2026-09-30T17:51:56.193

Link: CVE-2026-44282

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T16:15:18Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')