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-40286

CVE-2026-40286: WeGIA Stored XSS Vulnerability

CVE-2026-40286 is a stored cross-site scripting flaw in WeGIA's member registration function that allows attackers to inject malicious scripts. This post explains its impact, affected versions, and mitigation steps.

Published: April 23, 2026

CVE-2026-40286 Overview

CVE-2026-40286 is a Stored Cross-Site Scripting (XSS) vulnerability affecting WeGIA, a web manager application designed for charitable institutions. In versions prior to 3.6.10, attackers can inject malicious scripts through the 'Member Registration' (Cadastrar Sócio) function by submitting a payload into the 'Member Name' (Nome Sócio) field. The injected script is persistently stored in the database and executed whenever a user navigates to pages that display member information.

Critical Impact

Attackers can execute arbitrary JavaScript code in the context of authenticated user sessions, potentially leading to session hijacking, credential theft, unauthorized actions, and data exfiltration from charitable institution management systems.

Affected Products

  • WeGIA versions prior to 3.6.10
  • WeGIA Member Registration (Cadastrar Sócio) module
  • WeGIA web management interface for charitable institutions

Discovery Timeline

  • 2026-04-17 - CVE CVE-2026-40286 published to NVD
  • 2026-04-20 - Last updated in NVD database

Technical Details for CVE-2026-40286

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability (CWE-79) exists in WeGIA's member registration functionality. The application fails to properly sanitize user-supplied input in the 'Member Name' field before storing it in the database. When this data is subsequently retrieved and rendered on web pages, the malicious script executes in the victim's browser within the context of the application.

Unlike reflected XSS attacks that require tricking users into clicking malicious links, stored XSS vulnerabilities are particularly dangerous because the malicious payload persists in the application's database. Any user who views the affected member record will have the payload executed in their browser session, making this vulnerability suitable for targeting multiple users including administrators.

Root Cause

The root cause is improper input validation and output encoding in the WeGIA application. The 'Member Name' field in the registration form accepts arbitrary input without sanitizing special HTML characters. When member data is displayed, the application fails to encode output properly, allowing stored script content to be interpreted as executable code rather than plain text.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction to exploit. An attacker can submit a crafted payload through the member registration form, which is then stored in the database. The payload executes automatically when any user—including administrators—views pages that display member information, such as member lists, search results, or member profile pages.

Exploitation typically involves injecting JavaScript event handlers or script tags into the 'Member Name' field. Common attack scenarios include stealing session cookies, redirecting users to phishing pages, modifying displayed content, or performing actions on behalf of authenticated users.

Detection Methods for CVE-2026-40286

Indicators of Compromise

  • Suspicious entries in the member database containing HTML tags, script elements, or JavaScript event handlers
  • Database records with unusual characters such as <script>, onerror=, onload=, or similar HTML/JavaScript constructs in name fields
  • Unexpected outbound network connections from client browsers when viewing member pages
  • Reports from users experiencing unexpected browser behavior when accessing member management functions

Detection Strategies

  • Implement Web Application Firewall (WAF) rules to detect XSS payloads in form submissions targeting member registration endpoints
  • Monitor database queries for insertion of records containing known XSS patterns or suspicious HTML content
  • Deploy Content Security Policy (CSP) headers to detect and block inline script execution, with violation reporting enabled
  • Perform regular audits of member database records to identify potentially malicious entries

Monitoring Recommendations

  • Enable comprehensive logging for all form submissions to the member registration functionality
  • Configure alerts for CSP violation reports that may indicate XSS exploitation attempts
  • Monitor for anomalous patterns in user session behavior that could indicate session hijacking
  • Review web server access logs for repeated access to member display pages from unusual sources

How to Mitigate CVE-2026-40286

Immediate Actions Required

  • Upgrade WeGIA to version 3.6.10 or later immediately to apply the security fix
  • Audit existing member database records for potentially malicious script content and sanitize any suspicious entries
  • Implement Content Security Policy (CSP) headers to mitigate the impact of any existing stored payloads
  • Consider temporarily restricting access to member registration functionality until the patch is applied

Patch Information

The vulnerability is fixed in WeGIA version 3.6.10. Organizations running affected versions should upgrade immediately. For detailed patch information and security advisory, refer to the GitHub Security Advisory for GHSA-42rc-rvrx-cmmw.

Workarounds

  • Implement server-side input validation to strip or encode HTML special characters from all user inputs before database storage
  • Apply output encoding on all dynamic content rendered in HTML pages, particularly member name fields
  • Deploy a Web Application Firewall (WAF) configured to block common XSS payloads in form submissions
  • Restrict member registration functionality to trusted administrators until the upgrade can be performed
bash
# Example Content Security Policy header configuration for Apache
# Add to .htaccess or Apache configuration
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; object-src 'none'; frame-ancestors 'self';"

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWegia

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40283: WeGIA Stored XSS Vulnerability

  • CVE-2026-40284: WeGIA Stored XSS Vulnerability

  • CVE-2026-40282: WeGIA Stored XSS Vulnerability

  • CVE-2026-35399: Wegia Wegia Stored XSS Vulnerability
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