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

Published Apr 13, 2026
·
Updated

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).

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
rubygems/decidim-core<0.30.5
0.30.5
rubygems/decidim-core>=0.31.0.rc1<0.31.0
0.31.1
decidim Decidim Ruby<0.30.5
decidim Decidim Ruby>=0.31.0<0.31.1

Event History

Apr 13, 2026
Advisory Published
via GitHub·04:35 PM
Data Sourced
via GitHub·04:35 PM
DescriptionWeaknessAffected Software
CVE Published
via MITRE·04:52 PM
Data Sourced
via MITRE·04:52 PM
DescriptionWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
Affected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-23891?

CVE-2026-23891 has a high severity level due to the potential for arbitrary code execution.

2

How do I fix CVE-2026-23891?

To fix CVE-2026-23891, upgrade to decidim-core version 0.30.5 or 0.31.1.

3

Which versions of Decidim are affected by CVE-2026-23891?

CVE-2026-23891 affects all versions of decidim-core prior to 0.30.5 and between 0.31.0.rc1 and 0.31.0.

4

What type of vulnerability is CVE-2026-23891?

CVE-2026-23891 is a Cross-site scripting (XSS) vulnerability that allows code execution via the user name field.

5

Who can exploit CVE-2026-23891?

A low-privileged attacker can exploit CVE-2026-23891 to execute arbitrary code on the client side.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203