{"id":"CVE-2026-23891","aliases":["CVE-2026-23891","GHSA-fc46-r95f-hq7g"],"related":[],"kind":"vulnerability","state":"published","title":"Decidim has a Cross-site scripting (XSS) vulnerability via user name field","summary":"Decidim is a participatory democracy framework. In versions below 0.30.5 and 0.31.0.rc1 through 0.31.0, a stored code execution vulnerability in the user name field allows a low-privileged attacker to execute arbitrary code in the context of any user who passively visits a comment page, resulting in high confidentiality and integrity impact across security boundaries. This issue has been fixed in versions 0.30.5 and 0.31.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Decidim is a participatory democracy framework. In versions below 0.30.5 and 0.31.0.rc1 through 0.31.0, a stored code execution vulnerability in the user name field allows a low-privileged attacker to execute arbitrary code in the context of any user who passively visits a comment page, resulting in high confidentiality and integrity impact across security boundaries. This issue has been fixed in versions 0.30.5 and 0.31.1.","source":"cvelist"},{"lang":"en","text":"### Impact\nA stored code execution vulnerability in the user name field allows a low-privileged attacker to execute arbitrary code in the context of any user who passively visits a comment page, resulting in high confidentiality and integrity impact across security boundaries.\n\n### Patches\nN/A\n\n### Workarounds\nNot available\n\n### References\nOWASP ASVS v4.0.3-5.1.3\n\n### Credits\nThis issue was discovered in a security audit organized by [octree](https://octree.ch/) and made by [Secu Labs](https://seculabs.ch/) against Decidim financed by the city of Lausanne (Switzerland).","format":"markdown","source":"ghsa"}],"published":"2026-04-13T16:35:13.000Z","modified":"2026-06-17T10:22:16.033Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 0.31.0.rc1, < 0.31.1","status":"affected"},{"version":"< 0.30.5","status":"affected"}],"vendor":"decidim","product":"decidim","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.31.0.rc1","status":"affected","fixed":"0.31.1"}],"ecosystem":"RubyGems","package":"decidim-core","purl":"pkg:gem/decidim-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.30.5"}],"ecosystem":"RubyGems","package":"decidim-core","purl":"pkg:gem/decidim-core","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.30.5"},{"status":"affected","introduced":"0.31.0","fixed":"0.31.1"}],"vendor":"decidim","product":"decidim","cpe":"cpe:2.3:a:decidim:decidim:*:*:*:*:*:ruby:*:*","source":"nvd"}],"references":[{"url":"https://github.com/decidim/decidim/security/advisories/GHSA-fc46-r95f-hq7g","tags":["vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.30.5","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/decidim/decidim/releases/tag/v0.31.1","tags":["product","release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23891","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/decidim/decidim","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-23891.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-14T15:23:47.437Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-23891","url":"https://www.cve.org/CVERecord?id=CVE-2026-23891","licence":"CVE Terms of Use","modified":"2026-04-14T16:29:24.311Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fc46-r95f-hq7g","url":"https://github.com/advisories/GHSA-fc46-r95f-hq7g","licence":"CC-BY-4.0","modified":"2026-05-13T16:38:42.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-23891","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23891","licence":"Public domain","modified":"2026-06-17T10:22:16.033Z"}],"updatedAt":"2026-11-25T22:59:18.627Z","epss":{"score":0.00378,"percentile":0.33878,"date":"2026-12-01T12:00:22.000Z"}}