Skip to main content

EUVDEUVD-2026-22024

| CVE-2026-23891 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-04-13 https://github.com/decidim/decidim GHSA-fc46-r95f-hq7g
9.3
CVSS 4.0 · GitHub Advisory
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain low-privilege account
  2. Delivery
    Inject malicious payload in username field
  3. Exploit
    Payload stored in database
  4. Install
    Victim views comment page
  5. C2
    Code executes in victim's browser
  6. Execute
    Steal session tokens
  7. Impact
    Perform 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

decidim < 0.30.5
decidim 0.31.0.rc1, < 0.31.1

Affected Packages

rubygems decidim-core fix: 0.30.5, 0.31.1
euvd decidim fix: 0.30.5
euvd decidim_0_31_0_rc1 fix: 0.31.1

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

GitHub Advisory PRIMARY 9.3 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
Low

Lifecycle Timeline

3
Patch released
Apr 13, 2026 - 20:30 nvd
Patch available
CVSS changed
Apr 13, 2026 - 17:22 NVD
9.3 (CRITICAL)
CVE Published
Apr 13, 2026 - 16:35 nvd
CRITICAL 9.3

DescriptionGitHub 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.1%
Top 81% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy