Skip to main content

CVE-2026-23891 — Decidim has a cross-site scripting (XSS) in...

CRITICAL

Decidim has a cross-site scripting (XSS) in user name

Published April 13, 2026Updated May 13, 2026Source: OSV

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.

Check my Gemfile.lock

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.

Bundler
Update decidim-core to 0.30.5 or later
gem install decidim-core -v 0.30.5
Bundler
Update decidim-core to 0.31.1 or later
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).

PackageFixed 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.rc20.31.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.7 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

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

CVSS Score
8.7

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.53%
EPSS percentile: 38.1

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

GHSA-fc46-r95f-hq7g

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Gemfile.lock