CVE-2026-23891 — Decidim has a cross-site scripting (XSS) in...
Decidim has a cross-site scripting (XSS) in user name
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.53%). Schedule for your next planned update.
Does your project use an affected decidim-core version?
Paste your Gemfile.lock to check it for CVE-2026-23891 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Impact
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.
Patches
N/A
Workarounds
Not available
References
OWASP ASVS v4.0.3-5.1.3
Credits
This issue was discovered in a security audit organized by octree and made by Secu Labs against Decidim financed by the city of Lausanne (Switzerland).
Advisory Timeline
- First published April 13, 2026 (227 days ago).
- Last revised May 13, 2026 — 30 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install decidim-core -v 0.30.5
gem install decidim-core -v 0.31.1
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: RubyGems (1).
| Package | Fixed In |
|---|---|
| decidim-core RubyGems · Affected: 0.0.1, 0.0.1.alpha1, 0.0.1.alpha2, 0.0.1.alpha3 (+154 more) | 0.30.5 |
| decidim-core RubyGems · Affected: 0.31.0, 0.31.0.rc1, 0.31.0.rc2 | 0.31.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.
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-hq7gWEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-23891ADVISORY
- https://github.com/decidim/decidimPACKAGE
- https://github.com/decidim/decidim/releases/tag/v0.30.5WEB
- https://github.com/decidim/decidim/releases/tag/v0.31.1WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-23891.ymlWEB
Frequently Asked Questions
- What is CVE-2026-23891?
- Decidim has a cross-site scripting (XSS) in user name. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 8.7/10).
- How do I check if my project is affected by CVE-2026-23891?
- CVE-2026-23891 affects decidim-core. It has a 0.5% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-23891 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 38.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2025-65017HIGH
Decidim's private data exports can lead to data leaks
- CVE-2023-34089HIGH
Decidim Cross-site Scripting vulnerability in the processes filter
- CVE-2026-40869HIGH
Decidim amendments can be accepted or rejected by anyone
- CVE-2026-45573MEDIUM
Decidim: Push subscriptions can be abused for server-side requests
- CVE-2023-32693MEDIUM
Decidim Cross-site Scripting vulnerability in the external link redirections
- CVE-2026-45572MEDIUM
Decidim: HTML content blocks allow stored script execution
- CVE-2026-45377MEDIUM
Decidim: Private exports can be downloaded through reusable links
- CVE-2023-51447MEDIUM
Cross-site scripting (XSS) in the dynamic file uploads