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

CVE-2026-40282: WeGIA Stored XSS Vulnerability

CVE-2026-40282 is a stored XSS vulnerability in WeGIA that allows authenticated attackers to inject malicious scripts, leading to session hijacking. This article covers technical details, affected versions, and patches.

Published: April 23, 2026

CVE-2026-40282 Overview

CVE-2026-40282 is a Stored Cross-Site Scripting (XSS) vulnerability affecting WeGIA, a web manager for charitable institutions. This vulnerability allows an authenticated user to inject malicious JavaScript into the Intercorrências notification page, which is executed when any user accesses the page, enabling session hijacking and account takeover.

Critical Impact

Authenticated attackers can inject persistent malicious scripts that execute in the context of other users' sessions, potentially leading to session hijacking, credential theft, and complete account takeover.

Affected Products

  • WeGIA versions prior to 3.6.10

Discovery Timeline

  • April 17, 2026 - CVE-2026-40282 published to NVD
  • April 20, 2026 - Last updated in NVD database

Technical Details for CVE-2026-40282

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability exists in the WeGIA web manager's Intercorrências notification functionality. Unlike reflected XSS attacks where malicious scripts are immediately returned to the user, this stored variant persists the malicious payload within the application's data storage, causing it to execute every time a user views the affected notification page.

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that user-supplied input is not properly sanitized or encoded before being rendered in the browser context. An attacker with valid authentication credentials can craft malicious JavaScript payloads that become permanently embedded within the notification system.

Root Cause

The root cause is improper input validation and output encoding in the Intercorrências notification page. The application fails to sanitize user-controlled input before storing it and does not properly encode the content when rendering it back to users. This allows JavaScript code to be embedded directly into the HTML output, where it executes within the victim's browser session.

Attack Vector

The attack vector is network-based and requires user interaction. An authenticated attacker injects malicious JavaScript through the Intercorrências notification functionality. When other users, including administrators, access the affected notification page, the malicious script executes within their browser session.

The injected script can:

  • Steal session cookies and authentication tokens
  • Perform actions on behalf of the victim user
  • Redirect users to phishing pages
  • Capture keystrokes and form data
  • Escalate privileges if an administrator views the page

The vulnerability mechanism involves the improper handling of user input in the notification storage and display functions. When a malicious payload such as an event handler or script tag is submitted through the notification interface, it is stored without sanitization. Subsequently, when any user navigates to the Intercorrências page, the stored payload is rendered directly into the HTML document and executed by the browser.

For complete technical details, see the GitHub Security Advisory.

Detection Methods for CVE-2026-40282

Indicators of Compromise

  • Unexpected JavaScript execution or browser behavior when accessing the Intercorrências notification page
  • Suspicious entries in notification data containing script tags, event handlers, or JavaScript URIs
  • Anomalous session activity or unauthorized actions performed by legitimate user accounts
  • Browser console errors indicating blocked inline scripts if Content Security Policy is enabled

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block XSS payloads in POST/PUT requests to notification endpoints
  • Configure browser-based XSS detection headers and Content Security Policy to restrict inline script execution
  • Deploy endpoint detection solutions to monitor for suspicious browser activity and unauthorized session token access
  • Review application logs for unusual input patterns containing HTML tags, script elements, or event handlers

Monitoring Recommendations

  • Enable detailed logging for all user input submitted to the notification functionality
  • Monitor for outbound connections to unknown domains that could indicate data exfiltration
  • Track session token usage patterns to identify potential session hijacking attempts
  • Implement real-time alerting for detected XSS payloads in application input

How to Mitigate CVE-2026-40282

Immediate Actions Required

  • Upgrade WeGIA to version 3.6.10 or later immediately
  • Review existing notification data for suspicious JavaScript content and sanitize if necessary
  • Implement Content Security Policy headers to mitigate the impact of any undetected XSS
  • Force session token rotation for all users to invalidate potentially compromised sessions

Patch Information

The vulnerability has been fixed in WeGIA version 3.6.10. Organizations should upgrade to this version or later to address the stored XSS vulnerability. The security patch information is available in the GitHub Security Advisory GHSA-r6h8-7vxv-q8pp.

Workarounds

  • Restrict access to the Intercorrências notification feature to trusted administrators only until patching is complete
  • Deploy a web application firewall with XSS detection rules to filter malicious input
  • Implement strict Content Security Policy headers to prevent inline script execution
  • Review and sanitize existing notification entries to remove any potentially malicious content
bash
# Example Content Security Policy header configuration
# Add to web server configuration to mitigate XSS impact

# Apache (.htaccess or httpd.conf)
Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';"

# Nginx (nginx.conf)
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';";

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWegia

  • SeverityMEDIUM

  • CVSS Score6.4

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H/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
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-40283: WeGIA Stored XSS Vulnerability

  • CVE-2026-40286: WeGIA Stored XSS Vulnerability

  • CVE-2026-40284: 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