Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconCompromise or authenticate with admin credentials
-
DeliveryNavigate to patient information page
-
ExploitInject XSS payload in Nome field
-
InstallSave patient record
-
C2Victim accesses same patient record
-
ExecuteMalicious script executes in victim's session
-
ImpactAttacker harvests session token or exfiltrates data
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 attacker to possess high-privilege user credentials (administrator or equivalent role) in WeGIA, as indicated by the PR:H (Privilege Required: High) CVSS component. The attacker must have direct access to the network hosting WeGIA (AV:N indicates no additional network traversal is required beyond reaching the application). No user interaction by the victim is required for payload storage (UI:N), but execution occurs only when another user navigates to view the affected patient record in the 'Informações Pacientes' page. Exploitation is NOT limited to default configurations; the vulnerability exists in any WeGIA installation prior to 3.6.10 regardless of setup. The limiting factor is the requirement for authenticated high-privilege access, which restricts the attacker pool to insiders, compromised admin accounts, or threat actors who have first gained administrative credentials through phishing or other means. Organizations with strong role-based access control (RBAC) and multi-factor authentication (MFA) on administrative accounts face reduced practical risk. |
| Impact | This vulnerability presents moderate real-world risk despite its 6.8 CVSS score due to several limiting factors. The CVSS vector AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N indicates network accessibility but mandatory high-privilege account requirement significantly reduces exploitability. EPSS data is unavailable, limiting probabilistic exploitation assessment. No KEV (CISA Known Exploited Vulnerability) status is indicated, suggesting no confirmed active exploitation in the wild. No public exploit code (POC) is noted. The scope change (S:C) indicates the stored XSS can affect confidentiality of other users viewing the same record, but integrity and availability are not directly impacted by the XSS payload itself. Real-world risk is primarily insider threat focused-a malicious administrator or high-privilege staffer could inject XSS to harvest session tokens or extract patient data when colleagues access records. For organizations with strong access controls and audit logging of administrative functions, the practical risk is lower than the CVSS suggests. Organizations with weak privilege separation or shared administrative credentials face elevated risk. |
| Exploit ScenarioDerived | A disgruntled hospital administrator with high-privilege WeGIA access injects JavaScript containing a session-stealing payload into a patient's name field (e.g., 'John <img src=x onerror=fetch(/api/token)>). When a nurse or clinician accesses the patient information page to view records, the JavaScript executes in their browser context, exfiltrating their authentication token. The attacker then reuses the token to access other patient records or modify treatment information, violating HIPAA confidentiality or integrity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 17, 2026
Stored XSS in WeGIA patient management system (versions before 3.6.10) allows authenticated high-privilege users to inject malicious JavaScript via the patient name field, with execution occurring when patient records are subsequently viewed. The vulnerability affects all instances of WeGIA prior to version 3.6.10, where the fix has been released. Exploitation requires administrative or high-privilege account access but can compromise confidentiality and session integrity of users viewing affected patient records.
RemediationAI
Upgrade WeGIA to version 3.6.10 or later, which includes the fix for input sanitization in the patient name field. For organizations unable to immediately patch, implement network-level restrictions to limit administrative access to the WeGIA application to trusted networks or VPNs, reducing the window for high-privilege account compromise. Additionally, apply a Web Application Firewall (WAF) rule set to detect and block common XSS payload patterns (script tags, event handlers, JavaScript protocols) in form submissions to the patient information endpoint; note that this may block legitimate use of special characters in patient names, requiring testing before production deployment. Enable HTML output encoding in the application configuration if available as a setting. Implement strict Content Security Policy (CSP) headers with 'script-src self' to prevent inline script execution, mitigating XSS impact even if payloads are stored. Monitor administrative audit logs for suspicious modifications to patient records (especially the 'Nome' field with unusual characters or script-like content). The GitHub security advisory at https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-x74c-gwj9-6cwr provides official patch details and should be reviewed for any additional guidance.
Affected VersionsENISA
Affected Packages
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 web-based patient information management system for charitable institutions built on unspecified web frameworks. The vulnerability exists in the patient information page ('Informações Pacientes'), specifically in the 'Nome' (name) field, where user-supplied input is stored without proper sanitization or encoding. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), indicating that untrusted user input is reflected or stored and then rendered in HTML context without HTML entity encoding or content security policies. The attack vector is network-based, suggesting the application is accessible over HTTP/HTTPS, though exploitation requires high-privilege authentication (PR:H in CVSS vector), limiting the attacker pool to administrative users or compromised high-privilege accounts within the institution.
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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
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 via the "Nome" field in the "Informações Pacientes" page. The payload is stored and executed when the patient information is viewed. Version 3.6.10 fixes the issue.
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.
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
EUVD-2026-23525
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB