Skip to main content

WeGIA CVE-2026-42870

| EUVDEUVD-2026-29185 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-11 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. Access
    Access employee profile edit form
  2. Delivery
    Inject JavaScript payload into Description field
  3. Exploit
    Save poisoned profile to database
  4. Execution
    Victim admin browses to employee profile page
  5. Persist
    Stored payload executes in admin browser
  6. Impact
    Exfiltrate session token or perform privileged application action

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

Exploitation requires the ability to write to the Description (Descrição) field via the funcionario/profile_funcionario.php endpoint in WeGIA versions prior to 3.7.0. The provided CVSS 4.0 vector (PR:N) indicates the vendor assessed this as requiring no privileges, but this is not explicitly confirmed by the CVE description text and should be verified against the advisory - if the endpoint enforces session authentication, exploitation is limited to authenticated WeGIA users. Payload execution additionally requires a second party to view the poisoned profile page (UI:A), preventing fully automated mass exploitation (SSVC: not automatable). Maximum impact depends on the victim's privilege level: an administrative session provides high subsequent-system confidentiality, integrity, and availability impact (SC:H/SI:H/SA:H); a low-privileged viewer yields only limited direct impact. No special server-side configuration is required beyond a standard WeGIA installation on the affected version range.

Impact

The CVSS 4.0 score of 6.4 captures a network-accessible, low-complexity stored XSS with high subsequent-system impact - appropriate given that admin session compromise cascades into full application control. EPSS at 0.05% (15th percentile) is very low, indicating minimal observed exploitation pressure in the wild. SSVC classification of exploitation as 'poc' confirms proof-of-concept material exists, but 'not automatable' and 'partial technical impact' reduce operational urgency. No CISA KEV listing further supports that this is not under active mass exploitation. Despite the moderate numeric score, the practical risk is disproportionately elevated in deployments where administrators routinely view employee profiles - a single admin session hijack via stored XSS can yield full application compromise. The provided CVSS 4.0 vector assigns PR:N (no privileges required to inject the payload), which warrants independent verification: if the Description field is editable without authentication, the attacker pool is the entire internet rather than authenticated staff, materially increasing real-world exposure.

Exploit ScenarioDerived

An attacker with the ability to edit an employee profile submits a JavaScript payload - such as a cookie-exfiltration script pointing to an attacker-controlled server - into the Description field and saves the record. When an administrator or privileged user subsequently browses to that employee's profile page, the payload executes silently in their browser session, transmitting authentication cookies or performing state-changing actions on the admin's behalf. A proof-of-concept for this attack path is confirmed by SSVC 'Exploitation: poc' classification.

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 – Jul 23, 2026

Stored XSS in WeGIA's employee profile module affects all versions prior to 3.7.0, enabling persistent JavaScript injection via the Description (Descrição) field at the funcionario/profile_funcionario.php endpoint. Any party able to edit that field can plant a payload that executes silently in every subsequent visitor's browser - including administrators - enabling session hijacking and privileged action execution. A proof-of-concept exists per SSVC assessment; however, no CISA KEV listing and an EPSS of 0.05% (15th percentile) indicate no observed widespread exploitation at time of analysis.

RemediationAI

Upgrade to WeGIA 3.7.0, the vendor-released patch confirmed via GitHub advisory GHSA-q6jg-hfqv-882f (https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-q6jg-hfqv-882f). If immediate upgrade is not feasible, deploy a strict Content Security Policy (CSP) header on the WeGIA application that restricts script-src to trusted origins - note that an overly restrictive CSP may break legitimate WeGIA JavaScript functionality and must be tested before production deployment. As an additional compensating control, restrict write access to the employee profile Description field to trusted, authenticated roles only, reducing the attacker pool even if authentication is not currently enforced at that endpoint. A WAF rule blocking common XSS patterns (e.g., script tags, event handlers) on requests to profile_funcionario.php can provide a temporary barrier with low operational risk, though WAF rules alone are not a substitute for patching.

Affected VersionsENISA

WeGIA < 3.7.0

Affected Packages

euvd wegia fix: 3.7.0

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 is a PHP-based charitable institution management web application developed by LabRedesCefetRJ (CPE: cpe:2.3:a:labredescefetrj:wegia:*:*:*:*:*:*:*:*). The root cause is CWE-79 - Improper Neutralization of Input During Web Page Generation - where the Descrição field on the employee profile page accepts user-supplied input that is persisted to the database and subsequently reflected into HTML responses without proper output encoding or sanitization. This is a classic stored (persistent) XSS pattern: the injection point (profile edit form) is decoupled from the execution point (profile view), meaning the payload delivers to every viewer independently and repeatedly without further attacker involvement. The CVSS 4.0 vector assigns high subsequent-system impact (SC:H/SI:H/SA:H), reflecting that scripts executing in an administrator's browser can compromise the broader application beyond the immediate vulnerable page.

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
vuln.today AI 5.4 MEDIUM

PR:L assigned because profile editing most plausibly requires a session; scope change reflects payload executing in victim browsers; no availability impact from XSS.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

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

2
Patch available
May 11, 2026 - 20:02 EUVD
CVE Published
May 11, 2026 - 18:32 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

WeGIA is a web manager for charitable institutions. In versions prior to 3.7.0, a Stored Cross-Site Scripting (XSS) flaw was identified at the following endpoint: funcionario/profile_funcionario.php?id_funcionario=2. By injecting a malicious payload into the 'Description' (Descrição) field and saving the profile, the script becomes persistently stored. The payload is subsequently executed whenever the profile page is accessed. This vulnerability is fixed in 3.7.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 85% exploitable
Prevalence
Rare
niche PHP app serving charitable institutions, small global deployment base
Data Quality
6 sources
Confidence: High

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