llamaCVEVulnerability Intelligence
/
WeGIA

CVE-2026-61719

WeGIA: Stored Cross-Site Scripting (XSS) in "historico_prontuarios.php" via "textoProntuario" Field

Specific setups onlyParche disponiblecross-site scripting (XSS)
Descargar PNG JSON
CVSS 3.1
8.9
Alta
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L Fuente: CNA
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión3.8.7
Exposición20 dDesde la divulgación, 29 oct 2026, 4:26 p. m.
Detección7 minDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Monitoreo
Detectada +2
Fuente: OSV
Verificada
29 oct 26
3 nov 26
16 nov 26
19 nov 26
29 oct 26
4 nov 26
9 nov 26
14 nov 26
19 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-61719 divulgada · CVSS 8.9 (CNA)
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: NIST NVD Registro visto por primera vez en NIST NVD
Monitoreo Fuente: ENISA EUVD Registro visto por primera vez en ENISA EUVD
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0

WeGIA, a web manager for charitable institutions, is affected by a stored cross-site scripting flaw in its patient medical record history feature. An attacker who can create or access a patient's medical record can plant malicious scripts that run in other users' browsers, potentially stealing session cookies and compromising accounts depending on the victim's privileges.

Affects WeGIA versions before 3.8.7 through the textoProntuario field on the patient history page (saude/historico_prontuarios.php). Fixed in 3.8.7.

¿Qué significa?The textoProntuario field on the patient history page does not clean HTML or JavaScript from its input. Text saved there is later rendered when a user opens the patient history page, so the script can run in that other user's browser, enabling session cookie theft and potential account compromise.
¿Quién está afectado?The advisory covers WeGIA versions before 3.8.7, in the saude/historico_prontuarios.php patient history feature that handles the textoProntuario field. To check an installation, compare its WeGIA version against 3.8.7 in the product's version information.
¿Qué hacer?Upgrade WeGIA to version 3.8.7 or later, which is the fixed version listed for this vulnerability.
Descripción original del registro (GitHub_M)

WeGIA is a web manager for charitable institutions. Prior to 3.8.7, a stored cross-site scripting vulnerability in `saude/historico_prontuarios.php` arises because the `textoProntuario` field accepts arbitrary HTML or JavaScript without proper sanitization. An attacker able to create or access a patient's medical record can submit the field through `POST /controle/control.php` with `nomeClasse=SaudeControle`, `metodo=alterarProntuario`, and `id_fichamedica`. The stored content is rendered when another user accesses `/html/saude/historico_prontuarios.php` with `id_historico`, automatically executing attacker-controlled JavaScript in the victim's browser. The vulnerability permits session cookie theft and potential account compromise depending on the victim's privileges. This issue is fixed in version 3.8.7.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The textoProntuario field in saude/historico_prontuarios.php is not sanitized“The textoProntuario parameter accepts arbitrary HTML/JavaScript without proper sanitization.”
02
The stored content is rendered when a user opens the patient history page“The payload is later rendered when accessing the patient history page:”
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:C
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida
WeGIA< 3.8.7
3.8.7
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
WeGIA
Corregida 3.8.7 — —
Versiones corregidas3.8.7
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qm7p-cprp-f974
Otrahttps://github.com/LabRedesCefetRJ/WeGIA/issues/1704
Otrahttps://github.com/LabRedesCefetRJ/WeGIA/commit/52eeca63e9df1298c6f661d55aa26dc9eb0f564d
Otrahttps://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.