Skip to main content
← All vulnerabilities
CVE-2026-61719EUVD-2026-113400

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.8.7
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original description

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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • LabRedesCefetRJ WeGIA

    fixed in 3.8.7

References 4

GitHub · LabRedesCefetRJ/WeGIA