CVEsLabRedesCefetRJCVE-2026-61673Published Oct 29, 21:22 · Updated Oct 29, 21:22 UTC
6.3
MediumCVSS 4.0 · from GitHub_M
CVE-2026-61673

WeGIA: Stored DOM XSS in listar_despachos.php Allows Account Takeover

WeGIA · Cross-site scripting · CWE-79
AffectedWeGIA
FixNo fix listed yet.
PublishedOct 29, 21:22 · GitHub_M
ScoredOct 29 · 6.3 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:06 UTC

What we know

No known exploitation. CISA KEV, checked 22:06 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker needs network access and an account. CVSS: network, low privileges.
Someone has to open, click or run something first. CVSS: user interaction required.

Description

WeGIA is a web manager for charitable institutions. Prior to 3.8.7, a stored DOM cross-site scripting vulnerability in `web/html/memorando/listar_despachos.php` results from unsafe handling of the `texto` field. The affected flow spans `web/controle/memorando/DespachoControle.php` and `web/dao/memorando/DespachoDAO.php`: `FILTER_SANITIZE_SPECIAL_CHARS` is applied during storage, but `html_entity_decode()` later decodes the stored content and `jQuery .html()` inserts the result into the DOM. An attacker able to submit a memorandum dispatch through `/controle/control.php` using `DespachoControle` and `metodo=incluir` can store malicious HTML or JavaScript. The code executes automatically when another user views the memorandum thread through `/html/memorando/listar_despachos.php` with `id_memorando`. This permits arbitrary JavaScript execution, theft of administrator `PHPSESSID` session tokens, privileged session hijacking, account takeover, and unauthorized access to privileged or internal functionality. This issue is fixed in version 3.8.7.

From GitHub_M

Affected and fixed versions

ProductAffectedFixed inWeGIA< 3.8.7–

Exploit code

Exploit-DBnone knownMetasploitnone knownNucleinone known

References

github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-83p7-cx5x-7g34 · github.comrefsource_CONFIRMgithub.com/LabRedesCefetRJ/WeGIA/issues/516 · github.comrefsource_MISCgithub.com/LabRedesCefetRJ/WeGIA/commit/9524556c5940149e20cea389d2966dd010d3b5af · github.comrefsource_MISCgithub.com/LabRedesCefetRJ/WeGIA/releases/tag/3.8.7 · github.comrefsource_MISC

Other CVEs in WeGIA

All 189 →
8.9WeGIA: Stored Cross-Site Scripting (XSS) in "historico_prontuarios.php" via "textoProntuario" Field · CVE-2026-61719Oct 298.1WeGIA: Systemic IDOR + Missing CSRF — extract($_REQUEST) in All Controle Classes · CVE-2026-61671Oct 299.8WeGIA: SQL Injection in html/socio/sistema/cadastro_cobrancas_geracao.php · CVE-2026-55684Oct 14