Skip to main content

WeGIA CVE-2025-62598

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-21 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Craft URL with payload in action parameter
  2. Exploit
    Phish victim into clicking link
  3. Execution
    Reflected XSS executes in victim browser
  4. Impact
    Steal 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).

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

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

Vendor (github) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

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

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Rare
niche academic open-source institution manager, tiny real-world footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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 Yes
EPSS 0.2%
Patch available No
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· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*

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