# CVE-2026-23891: Decidim has a Cross-site scripting (XSS) vulnerability via user name field

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-04-13T16:35:13.000Z
- Modified: 2026-06-17T10:22:16.033Z
- Also known as: GHSA-fc46-r95f-hq7g
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- decidim decidim: >= 0.31.0.rc1, < 0.31.1; < 0.30.5; before 0.30.5; from 0.31.0 before 0.31.1
- decidim-core (RubyGems): from 0.31.0.rc1 before 0.31.1; before 0.30.5

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:3.1 8.7 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`
- GitHub: CVSS:4.0 Critical `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`
- NVD: CVSS:3.1 8.7 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N`

## References

- <https://github.com/decidim/decidim/security/advisories/GHSA-fc46-r95f-hq7g> (vendor-advisory, web)
- <https://github.com/decidim/decidim/releases/tag/v0.30.5> (product, release-notes, web)
- <https://github.com/decidim/decidim/releases/tag/v0.31.1> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-23891> (advisory)
- <https://github.com/decidim/decidim> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-23891.yml> (web)

## Sources

- CVE List: [CVE-2026-23891](https://www.cve.org/CVERecord?id=CVE-2026-23891), CVE Terms of Use, modified 2026-04-14
- GitHub Advisory Database: [GHSA-fc46-r95f-hq7g](https://github.com/advisories/GHSA-fc46-r95f-hq7g), CC-BY-4.0, modified 2026-05-13
- NVD: [CVE-2026-23891](https://nvd.nist.gov/vuln/detail/CVE-2026-23891), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23891 · Whole record: https://cve.day/CVE-2026-23891.json · Rebuilt by cve.day 2026-11-25T22:59:18.627Z
