WeGIA
CVE-2025-62598
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft URL with payload in action parameter
-
ExploitPhish victim into clicking link
-
ExecutionReflected XSS executes in victim browser
-
ImpactSteal session/perform actions as victim
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 a victim with access to the WeGIA application to open an attacker-crafted URL targeting GET /WeGIA/html/pessoa/editar_info_pessoal.php?action=<payload>; the 'action' parameter is reflected without sanitization. The practical limiting factors are: (1) required user interaction - the victim must click or load the malicious link, (2) the payload executes only in the victim's browser context so impact is confined to that user's session (reflected, not stored/persistent), and (3) deployments must be on versions prior to 3.5.1. No server-side authentication is needed to craft the link, but meaningful impact depends on targeting an authenticated/active WeGIA user. |
| Impact | This is a reflected cross-site scripting (CWE-79) flaw in the WeGIA institutional web manager, carrying a moderate CVSS 4.0 base of 6.9. The real-world risk is modest and bounded. EPSS is low at 0.24% (14th percentile), indicating little predicted mass-exploitation activity, and the CVE is NOT in CISA KEV, so there is no evidence of active exploitation. However, publicly available exploit code exists via the GitHub Security Advisory GHSA-jmm7-rr7w-f223, which lowers the barrier to opportunistic use. The signals are internally consistent (low EPSS, no KEV, reflected rather than stored XSS). Note a key tension in the vendor-supplied CVSS 4.0 vector: it specifies PR:N/UI:N and sets only SI:L (subsequent-system integrity) with VC:N/VI:N/VA:N - yet a reflected XSS realistically requires the victim to click an attacker-crafted link (user interaction) and primarily impacts the victim's browser session (confidentiality/integrity of session data). The UI:N choice is questionable for a reflected-XSS and likely understates the interaction requirement while the impact mapping is plausible but conservative - verify intent with the vendor advisory. Overall this is a low-to-moderate priority issue typical of reflected XSS: real but gated by user interaction and limited to session-level impact. |
| Exploit ScenarioDerived | An attacker crafts a malicious URL embedding JavaScript in the 'action' parameter of GET /WeGIA/html/pessoa/editar_info_pessoal.php and delivers it to a logged-in WeGIA user via phishing email or a planted link. When the victim opens the link, the unsanitized parameter is reflected into the page and the script executes in their browser session, enabling session-token theft, CSRF-style actions, or UI redressing. Public proof-of-concept exploit detail is available in the GitHub Security Advisory (GHSA-jmm7-rr7w-f223). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Reflected cross-site scripting in WeGIA (Web Manager for Institutions) versions prior to 3.5.1 lets an attacker inject malicious script through the 'action' parameter of the GET endpoint /WeGIA/html/pessoa/editar_info_pessoal.php, which is reflected back without sanitization. Because the flaw is reflected rather than stored, exploitation requires a victim to open an attacker-crafted URL (user interaction), and the injected script then runs in that victim's browser context - meaning impact is limited to the targeted user's session rather than the server. Publicly available exploit code exists and the vendor has confirmed the issue in GitHub advisory GHSA-jmm7-rr7w-f223, but there is no evidence of confirmed active exploitation (not in CISA KEV), and EPSS rates the likelihood of exploitation low at roughly 0.24% (14th percentile); no authentication is required to craft the link (PR:N in the CVSS vector), though meaningful impact depends on targeting an authenticated or active WeGIA user.
RemediationAI
Upgrade WeGIA to version 3.5.1, which is the vendor-released fix (Vendor-released patch: 3.5.1), available at https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.5.1; the vendor's GitHub security advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-jmm7-rr7w-f223 documents the flaw. Note that the 3.5.1 release also applies schema changes - adding UNIQUE constraints on the 'descricao' column of the tipo_quadro_horario and escala_quadro_horario tables - so schedule the database migration (ALTER TABLE ... ADD UNIQUE (descricao)) as part of the rollout and validate that existing rows do not violate the new uniqueness before applying, since the ALTER will fail if duplicates already exist. If upgrading cannot be done immediately, apply compensating controls that directly target the reflection point rather than relying on generic hardening: enforce context-appropriate HTML-attribute/JavaScript output encoding (e.g. htmlspecialchars with ENT_QUOTES) on the 'action' parameter in editar_info_pessoal.php before any echo, or reject/whitelist the parameter so only expected action identifiers (such as numeric values) are accepted - the trade-off being that legitimate but unexpected values will be blocked and may break navigation flows. A web application firewall or reverse-proxy rule that blocks request URIs containing angle brackets, script tags, or encoding-obfuscated variants in the 'action' parameter can reduce exploitation attempts, but is bypassable through alternate encodings and should be considered a temporary mitigation only. Because exploitation depends on a victim clicking a crafted link, restricting access to the WeGIA instance (VPN/internal-only exposure, IP allow-listing) lowers the attack surface at the cost of remote usability, and configuring the application's session cookies with HttpOnly, Secure, and SameSite attributes limits the practical payoff of any successful script execution. There is no indication that a patched version other than 3.5.1 is required, and no version numbers beyond those in the provided data should be assumed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WeGIA is an open-source PHP web application ("Web Manager for Institutions") aimed at Portuguese-language institutions such as schools, and the affected component is a PHP page in the pessoa (person) module: html/pessoa/editar_info_pessoal.php. The root cause is CWE-79, improper neutralization of input during web page generation - specifically a reflected XSS, where the GET parameter 'action' is echoed into the generated HTML without contextual output encoding, so a crafted value like ...?action=<script>... becomes executable markup in the victim's browser. Reflected XSS is a client-side injection class: it does not persist in the database and does not execute on the server, but it can run arbitrary JavaScript in the origin of the WeGIA instance, enabling session/cookie theft, CSRF-style actions performed as the victim, credential phishing overlays, or defacement within the victim's browser. The relevant CPE, cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*, uses a wildcard version, indicating that the vendor's CPE mapping does not pin a specific version range; the advisory and the 3.5.1 release notes are the authoritative sources for the boundary, with 3.5.0 and earlier vulnerable and 3.5.1 fixed. The 3.5.1 release shipped alongside these fixes also included database schema changes (UNIQUE constraints added to the 'descricao' columns of the tipo_quadro_horario and escala_quadro_horario tables), which administrators should be aware of when upgrading. Our independent assessment scores the issue as CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, i.e. network-reachable and requiring victim interaction, while the NVD-style CVSS 4.0 vector given in the dataset (6.9) reflects the same low-integrity, user-interaction-dependent character of the flaw.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N
Network-delivered reflected XSS needing victim click (UI:R); runs in browser crossing to the user's security context (S:C) with low confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Prior to version 3.5.1, a reflected cross-site scripting (XSS) vulnerability was identified in the editar_info_pessoal.php endpoint of the WeGIA application. This vulnerability allows attackers to inject malicious scripts in the action parameter. The vulnerable endpoint is GET /WeGIA/html/pessoa/editar_info_pessoal.php?action=1. This issue has been patched in version 3.5.1.
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.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB