GHSA-fc46-r95f-hq7g
Decidim has a cross-site scripting (XSS) in user name
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| RubyGems | decidim-core | >= 0.31.0.rc1, < 0.31.1 | 0.31.1 |
| RubyGems | decidim-core | < 0.30.5 | 0.30.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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](https://octree.ch/) and made by [Secu Labs](https://seculabs.ch/) against Decidim financed by the city of Lausanne (Switzerland).
References
External links from the advisory. They lead to third-party sites.
- https://github.com/decidim/decidim/security/advisories/GHSA-fc46-r95f-hq7g
- https://nvd.nist.gov/vuln/detail/CVE-2026-23891
- https://github.com/decidim/decidim
- https://github.com/decidim/decidim/releases/tag/v0.30.5
- https://github.com/decidim/decidim/releases/tag/v0.31.1
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/decidim-core/CVE-2026-23891.yml