CVE-2026-61719: WeGIA stored cross-site scripting in medical records

CVE-2026-61719 · Severity: high · CVSS 8.9 · Published 2026-10-29

WeGIA is a web-based medical records system used by charitable institutions. A stored XSS vulnerability in the patient medical record notes field allows authenticated users to inject malicious JavaScript that executes in other users' browsers when they view records, potentially enabling session hijacking and account compromise.

Technologies: LabRedesCefetRJ WeGIA. Vendors: LabRedesCefetRJ.

Quick answers

Is CVE-2026-61719 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-61719 being exploited in the wild.
How severe is CVE-2026-61719?
High severity, with a CVSS score of 8.9, published 29 October 2026.
Which products and versions are affected?
LabRedesCefetRJ WeGIA prior to 3.8.7.
Is there a fix for CVE-2026-61719?
Yes: fixed in 3.8.7. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-61719 attacked?
It is attacked over the network.
Am I affected by CVE-2026-61719?
Check whether you run LabRedesCefetRJ WeGIA at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • Fixed in: 3.8.7

Technical details

The vulnerability is a stored cross-site scripting (XSS) flaw in the `saude/historico_prontuarios.php` file where the `textoProntuario` field fails to sanitize user input before rendering it with `innerHTML`. An authenticated attacker can submit malicious JavaScript via POST to `/controle/control.php` with parameters `nomeClasse=SaudeControle`, `metodo=alterarProntuario`, and `id_fichamedica`. The stored payload executes in victims' browsers when accessing the medical history page, enabling session cookie theft and privilege-dependent account takeover. The fix changes `innerHTML` to `textContent` to prevent script execution.

Affected products

  • LabRedesCefetRJ WeGIA prior to 3.8.7

Timeline

  • 2026-10-29: advisory

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.