{"id":"CVE-2026-44282","aliases":["CVE-2026-44282","GHSA-9mvp-w4rr-5c6x"],"related":[],"kind":"vulnerability","state":"published","title":"Election question titles allow stored script execution","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Description\n\nA low-privilege process-scoped admin who can manage elections can store arbitrary HTML in the question statement/body without sanitization, and the public elections UI renders that value unsafely.\n\n## Technical description\n \nThis stored XSS appears because election question titles are rendered as trusted HTML instead of sanitized text. The election question editor stores `question.body` as a normal translatable string, and the public helper `question_title` returns that value with `html_safe` and no sanitization boundary, so any user who can edit election questions can persist markup or script-bearing payloads that later render on public election pages.\n\n<img width=\"1506\" height=\"1285\" alt=\"decidim-election-01\" src=\"https://github.com/user-attachments/assets/2e17f396-10f9-4423-bb97-5badbdb20d21\" />\n<img width=\"1540\" height=\"657\" alt=\"decidim-election-02\" src=\"https://github.com/user-attachments/assets/178adb7b-d00e-4b5d-9237-f391e523973f\" />\n\n### Impact\n\nA low-privilege process-scoped admin or other election editor with question-management rights can persist JavaScript that executes in visitor's browsers on public election pages and voting booth screens.\n\n### Patches\n\nSee https://github.com/decidim/decidim/pull/16659\n\n### Workarounds\n\nDevelopers should review their implementation's administrator accesses and not give access to untrustworthy users\n\n### Resources\n\nOWASP XSS Injection\n\n### Credits\n\nThis issue was discovered in a security audit organized by the [Decidim Association](https://decidim.org) and made by [Radically Open Security](https://www.radicallyopensecurity.com/) against Decidim financed by [NGI](https://ngi.eu/).","format":"markdown","source":"ghsa"}],"published":"2026-09-09T17:59:52.000Z","modified":"2026-09-30T17:51:56.193Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 0.32.0","status":"affected"}],"vendor":"decidim","product":"decidim","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.32.0"}],"ecosystem":"RubyGems","package":"decidim-elections","purl":"pkg:gem/decidim-elections","source":"ghsa"}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-9mvp-w4rr-5c6x","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/decidim/decidim/pull/16659","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/decidim/decidim/pull/16669","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decidim/decidim/commit/64dbea3739f360f1eb36932dfc49d9686e61fc00","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decidim/decidim/commit/b6e1b003365d10c0df2bc7edc5edd26b62fafda1","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.32.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/decidim/decidim","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-15T16:05:38.159Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-44282","url":"https://www.cve.org/CVERecord?id=CVE-2026-44282","licence":"CVE Terms of Use","modified":"2026-09-15T16:05:47.457Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9mvp-w4rr-5c6x","url":"https://github.com/advisories/GHSA-9mvp-w4rr-5c6x","licence":"CC-BY-4.0","modified":"2026-09-09T18:26:04.522Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-44282","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44282","licence":"Public domain","modified":"2026-09-30T17:51:56.193Z"}],"updatedAt":"2026-11-25T22:59:38.550Z","epss":{"score":0.00282,"percentile":0.22268,"date":"2026-12-01T12:00:22.000Z"}}