Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privilege account
-
DeliveryInject malicious payload in username field
-
ExploitPayload stored in database
-
InstallVictim views comment page
-
C2Code executes in victim's browser
-
ExecuteSteal session tokens
-
ImpactPerform unauthorized actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires low-privilege authenticated account in Decidim. Attacker injects malicious code into user name field. Victim must passively visit a comment page containing the crafted profile, triggering stored XSS execution in victim's browser context. |
| Impact | This vulnerability presents significant real-world risk despite lacking CVSS scoring and EPSS data. The 'high confidentiality and integrity impact across security boundaries' characterization indicates scope change - the attacker's low-privileged context can compromise other users' sessions and data. The stored nature creates a persistent threat vector where a single injection can affect multiple victims over time without further attacker interaction. The passive triggering mechanism (simply viewing a comment page) eliminates the social engineering barrier typical of reflected XSS attacks. However, several factors moderate the urgency: the attack requires authenticated access (low privilege threshold, but not unauthenticated), no confirmed active exploitation exists (not in CISA KEV), and vendor patches are available in versions 0.30.5 and 0.31.1. The vulnerability's discovery through a paid professional audit rather than in-the-wild exploitation suggests it may not yet be widely known to threat actors. Organizations running Decidim for public participation or civic engagement face elevated risk due to the platform's typical use case involving numerous authenticated users and public-facing comment systems. The SSVC framework would likely classify this as 'attend' priority: exploitation status is proof-of-concept (described but not public exploit), automatable (yes, once credentials obtained), and technical impact is total (account takeover across users). |
| Exploit ScenarioDerived | An attacker registers a low-privileged account on a Decidim platform and injects malicious JavaScript code into their user name field during profile setup. When legitimate users browse comment sections or user listings where the attacker's name appears, the stored payload automatically executes in their browser context. The malicious code can steal session tokens, perform actions on behalf of victims, or exfiltrate private messages and participation data. Given the platform's civic engagement use case, an attacker could manipulate voting records, access confidential policy discussions, or impersonate municipal administrators. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 13, 2026
Stored code execution in Decidim's user name field allows authenticated attackers with low privileges to inject malicious code that executes in victims' browsers when they view comment pages, enabling account takeover and data theft across trust boundaries. The vulnerability affects the decidim-core RubyGem component. Patches are available in versions 0.30.5 and 0.31.1. No public exploit identified at time of analysis, though the attack vector is relatively straightforward for authenticated users.
RemediationAI
Upgrade to patched versions immediately: decidim-core 0.30.5 for installations on the 0.30.x branch, or decidim-core 0.31.1 for the 0.31.x branch. Update the Gemfile to specify the fixed version and run bundle update decidim-core to apply the patch. Both releases are available from RubyGems and documented at https://github.com/decidim/decidim/releases/tag/v0.30.5 and https://github.com/decidim/decidim/releases/tag/v0.31.1 respectively. No workarounds are available according to the vendor advisory, making upgrade the only effective mitigation. After patching, audit existing user name fields for suspicious content and review access logs for potential exploitation indicators. Organizations unable to upgrade immediately should consider restricting user registration or implementing additional Web Application Firewall rules to detect script injection patterns, though these are incomplete mitigations. Review the security advisory at https://github.com/decidim/decidim/security/advisories/GHSA-fc46-r95f-hq7g for additional vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in rubygems, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Decidim is an open-source participatory democracy platform built on Ruby on Rails. This vulnerability stems from insufficient input sanitization in the user name field (CWE-79: Improper Neutralization of Input During Web Page Generation). The affected component is the decidim-core RubyGem (pkg:rubygems/decidim-core), which provides core functionality for the Decidim platform. Unlike typical reflected XSS, this is a stored code execution vulnerability where malicious payloads persist in the database and execute whenever other users view pages containing the attacker's username, such as comment sections. The classification as both XSS and RCE in tags suggests the payload can achieve remote code execution in the browser context, potentially leveraging modern browser APIs or framework-specific features to escalate beyond traditional XSS limitations. The vulnerability was identified through a professional security audit conducted by Secu Labs for the city of Lausanne, indicating rigorous third-party validation. The OWASP ASVS v4.0.3-5.1.3 reference points to requirements for output encoding and injection prevention.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
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).
Executive ViewAI
Decidim versions prior to 0.30.5 and 0.31.1 contain a stored cross-site scripting (XSS) vulnerability in user name fields that allows authenticated users with low privileges to inject malicious code executed in other users' browsers, enabling account takeover and unauthorized data access. Organizations running Decidim for citizen engagement, participatory budgeting, or collaborative decision-making face immediate risk of user account compromise and potential breach of sensitive civic data.
Vendor-released patch: decidim-core 0.30.5 or 0.31.1. If immediate patching is not feasible, restrict user name field input to alphanumeric characters and whitespace only using input validation filters; disable or remove comment functionality temporarily; monitor user activity and account access logs for anomalous behavior; implement Content Security Policy (CSP) headers to limit script execution scope.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
EUVD-2026-22024
GHSA-fc46-r95f-hq7g
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB