Skip to main content
← All vulnerabilities
CVE-2026-61673EUVD-2026-113398

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

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 used by charitable institutions, is affected by a stored cross-site scripting flaw in its memorandum dispatch feature. Malicious scripts submitted through this feature can run in other users' browsers when they view the memorandum thread, allowing an attacker to steal session tokens, take over accounts (including administrator accounts), and access privileged functions.

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 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.

Timeline

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

Affected versions

  • LabRedesCefetRJ WeGIA

    fixed in 3.8.7

References 4

GitHub · LabRedesCefetRJ/WeGIA