CVE-2026-44282

Election question titles allow stored script execution

Published Sep 15, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Decidim
Decidim decidim
Vendors & Products Decidim
Decidim decidim
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Sep 15, 2026, 4:05 PM
Reserved
May 5, 2026, 5:39 PM
Status
Deferred
Published
Sep 15, 2026, 4:17 PM
Modified
Sep 30, 2026, 5:51 PM