Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23891

CVE-2026-23891: Decidim Framework RCE Vulnerability

CVE-2026-23891 is a stored code execution vulnerability in Decidim, a participatory democracy framework. Attackers exploit the user name field to execute code when users view comment pages. This article covers affected versions, technical details, impact, and mitigation strategies.

Published: April 17, 2026

CVE-2026-23891 Overview

CVE-2026-23891 is a stored Cross-Site Scripting (XSS) vulnerability affecting Decidim, an open-source participatory democracy framework used by governments and organizations worldwide. The vulnerability exists in the user name field, where insufficient input sanitization allows a low-privileged attacker to inject malicious code that executes in the browser context of any user who views a comment page containing the attacker's username.

This stored code execution flaw enables attackers to perform actions on behalf of victims, steal session tokens, redirect users to malicious sites, or exfiltrate sensitive data. Because the malicious payload persists in the application database and executes whenever the affected content is rendered, the vulnerability poses a significant risk to the confidentiality and integrity of the platform and its users.

Critical Impact

Low-privileged attackers can achieve persistent code execution in victims' browsers, compromising user sessions and enabling data theft across security boundaries on participatory democracy platforms.

Affected Products

  • Decidim versions below 0.30.5
  • Decidim versions 0.31.0.rc1 through 0.31.0

Discovery Timeline

  • April 13, 2026 - CVE-2026-23891 published to NVD
  • April 13, 2026 - Last updated in NVD database

Technical Details for CVE-2026-23891

Vulnerability Analysis

This vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), commonly known as Cross-Site Scripting. The flaw exists in how Decidim processes and renders user-supplied input in the username field. When a user creates or modifies their account name, the application fails to properly sanitize or escape special characters before storing the value in the database and subsequently rendering it on comment pages.

The stored nature of this XSS vulnerability makes it particularly dangerous. Unlike reflected XSS attacks that require victims to click a malicious link, stored XSS payloads are automatically executed whenever any user visits a page where the malicious content is displayed. In Decidim's case, this means any user viewing comments made by an attacker would unknowingly execute the injected code.

The vulnerability enables high confidentiality and integrity impact, as attackers can access session cookies, perform actions as the victim, modify page content, or redirect users to attacker-controlled domains. The cross-security-boundary nature of the attack means administrative users visiting comment pages could have their elevated sessions compromised.

Root Cause

The root cause is insufficient input validation and output encoding in the user name processing pipeline. Decidim versions prior to 0.30.5 and version 0.31.0 do not properly sanitize user-provided name values before storing them in the database, nor do they adequately encode these values when rendering them in HTML contexts on comment pages. This allows specially crafted input containing JavaScript or HTML markup to be preserved and executed as executable code rather than displayed as literal text.

Attack Vector

The attack is network-based and requires low privileges—any authenticated user who can set a username can exploit this vulnerability. The attack flow involves an attacker registering or modifying their account to include malicious JavaScript in the username field, then posting comments on the platform. When other users, including administrators, view these comments, the malicious payload executes in their browser with full access to the DOM and user session.

The vulnerability requires passive user interaction (simply visiting a page), making it highly exploitable in active community platforms where users regularly view and participate in discussions. The attacker can target high-value victims by posting comments on popular proposals or discussions.

Detection Methods for CVE-2026-23891

Indicators of Compromise

  • Unusual script tags, event handlers (e.g., onerror, onload), or JavaScript URIs in user profile name fields within the Decidim database
  • Web application firewall logs showing XSS patterns in user registration or profile update requests
  • Client-side errors or unexpected network requests originating from comment pages
  • Reports from users about unexpected redirects or behavior when viewing comments

Detection Strategies

  • Deploy web application firewall rules to detect and block XSS payloads in user input fields
  • Implement Content Security Policy (CSP) headers to restrict inline script execution and report violations
  • Enable database auditing to monitor for suspicious patterns in user-controlled text fields
  • Review server access logs for requests to user profile endpoints containing encoded script tags or event handlers

Monitoring Recommendations

  • Configure CSP reporting to capture and alert on policy violations that may indicate XSS exploitation attempts
  • Monitor Decidim application logs for unusual comment viewing patterns or high-frequency access to specific user profiles
  • Set up alerts for users reporting session hijacking or unauthorized account activity
  • Regularly scan the user database for stored XSS indicators using automated security tools

How to Mitigate CVE-2026-23891

Immediate Actions Required

  • Upgrade Decidim to version 0.30.5 or 0.31.1 immediately to address the vulnerability
  • Audit existing user accounts for potentially malicious usernames containing script tags or event handlers
  • Implement Content Security Policy headers as a defense-in-depth measure while patching is in progress
  • Review recent comment activity and user registrations for signs of exploitation

Patch Information

The Decidim development team has released patched versions that address this stored XSS vulnerability. Organizations should upgrade to:

  • Version 0.30.5 for deployments on the 0.30.x branch - GitHub Release v0.30.5
  • Version 0.31.1 for deployments on the 0.31.x branch - GitHub Release v0.31.1

For additional technical details about this vulnerability, refer to the GitHub Security Advisory GHSA-fc46-r95f-hq7g.

Workarounds

  • Implement strict input validation on the user name field at the web server or reverse proxy level to block common XSS patterns
  • Deploy a web application firewall with XSS detection rules in front of the Decidim application
  • Enable strong Content Security Policy headers to prevent inline script execution, reducing the impact of any stored XSS
  • Temporarily restrict user profile editing capabilities if immediate patching is not possible
bash
# Example nginx configuration to add CSP headers as defense-in-depth
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; frame-ancestors 'none';" always;

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDecidim

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityLow
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Release v0.30.5

  • GitHub Release v0.31.1

  • GitHub Security Advisory GHSA-fc46-r95f-hq7g
  • Related CVEs
  • CVE-2026-40869: Decidim Auth Bypass Vulnerability

  • CVE-2026-40870: Decidim API Authorization Bypass Vulnerability

  • CVE-2025-65017: Decidim Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English