Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
LabRedesCefetRJ WeGIA
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

WeGIA 是一款面向慈善机构的网络管理系统。在 3.8.7 版本之前, 文件存在存储型跨站脚本(Stored XSS)漏洞,原因是 字段在未进行适当清理的情况下接受任意 HTML 或 JavaScript 内容。能够创建或访问患者病历的攻击者可通过向 提交请求,并设置参数 、 以及 来注入恶意内容。当其他用户访问 并指定 参数时,存储的恶意内容将被渲染,从而在受害者的浏览器中自动执行攻击者控制的 JavaScript 代码。该漏洞可导致会话 Cookie 被窃取,并可能根据受害者账户的权限级别造成账户被接管。此问

CVSS 8.9 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-61719

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
WeGIA: Stored Cross-Site Scripting (XSS) in "historico_prontuarios.php" via "textoProntuario" Field
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
LabRedesCefetRJ WeGIA < 3.8.7 -

II. Public POCs for CVE-2026-61719

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-61719

请登录查看更多情报信息。

Other References for CVE-2026-61719 (4)

Same Patch Batch · LabRedesCefetRJ · 2026-10-29 · 3 CVEs total

CVE-2026-61671 8.1 HIGH WeGIA: Systemic IDOR + Missing CSRF — extract($_REQUEST) in All Controle Classes
CVE-2026-61673 6.3 MEDIUM WeGIA: Stored DOM XSS in listar_despachos.php Allows Account Takeover

IV. Related Vulnerabilities