{"id":"CVE-2026-61719","aliases":["CVE-2026-61719"],"related":[],"kind":"vulnerability","state":"published","title":"WeGIA: Stored Cross-Site Scripting (XSS) in \"historico_prontuarios.php\" via \"textoProntuario\" Field","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"}],"published":"2026-10-29T21:26:27.288Z","modified":"2026-11-03T17:18:15.093Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","score":8.9,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:L","score":8.9,"rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 3.8.7","status":"affected"}],"vendor":"LabRedesCefetRJ","product":"WeGIA","source":"cvelist"}],"references":[{"url":"https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-qm7p-cprp-f974","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/issues/1704","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/commit/52eeca63e9df1298c6f661d55aa26dc9eb0f564d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-11-03T16:56:43.876Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-61719","url":"https://www.cve.org/CVERecord?id=CVE-2026-61719","licence":"CVE Terms of Use","modified":"2026-11-03T16:57:40.959Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-61719","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-61719","licence":"Public domain","modified":"2026-11-03T17:18:15.093Z"}],"updatedAt":"2026-11-25T22:59:47.848Z","epss":{"score":0.00354,"percentile":0.31142,"date":"2026-12-01T12:00:22.000Z"}}