# CVE-2026-61673: WeGIA stored DOM cross-site scripting in memorandum dispatch

Source: https://junglewise.ai/threats/cve-2026-61673-wegia-is-a-web-manager-for-charitable-institutions-prior-to-3-8-7  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-29. Updated: 2026-10-29  
License: CC BY 4.0 with a link back

CVE-2026-61673 · Severity: info · Published 2026-10-29

WeGIA is a web-based management system used by charitable institutions to organize internal communications. A stored cross-site scripting vulnerability allows attackers to inject malicious JavaScript into memorandum dispatches that executes when viewed by other users, enabling session hijacking, account takeover, and unauthorized access to administrative functions.

Technologies: [LabRedesCefetRJ WeGIA](https://junglewise.ai/threats/technologies/wegia). Vendors: [LabRedesCefetRJ](https://junglewise.ai/threats/vendors/labredescefetrj).

## Quick answers

**Is CVE-2026-61673 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-61673 being exploited in the wild.

**How severe is CVE-2026-61673?** Informational severity, published 29 October 2026.

**Which products and versions are affected?** LabRedesCefetRJ WeGIA prior to 3.8.7.

**Is there a fix for CVE-2026-61673?** 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-61673 attacked?** It is attacked over the network.

**Am I affected by CVE-2026-61673?** 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 DOM XSS in the memorandum dispatch feature: the `texto` field is sanitized during storage using `FILTER_SANITIZE_SPECIAL_CHARS` but then decoded with `html_entity_decode()` and inserted via jQuery `.html()`, which treats the string as HTML. An authenticated attacker can submit a dispatch via `/controle/control.php` with crafted JavaScript, which persists and executes client-side when any user views the thread. This allows theft of PHPSESSID cookies and privilege escalation.

## Affected products

- LabRedesCefetRJ WeGIA prior to 3.8.7

## Timeline

- 2026-10-29: disclosed
- 2026-10-29: patched

## References

- [https://github.com/LabRedesCefetRJ/WeGIA/commit/9524556c5940149e20cea389d2966dd010d3b5af](https://github.com/LabRedesCefetRJ/WeGIA/commit/9524556c5940149e20cea389d2966dd010d3b5af)
- [https://github.com/LabRedesCefetRJ/WeGIA/issues/516](https://github.com/LabRedesCefetRJ/WeGIA/issues/516)

## Related threats

- [WeGIA stored cross-site scripting in medical records](https://junglewise.ai/threats/cve-2026-61719-wegia-is-a-web-manager-for-charitable-institutions-prior-to-3-8-7)
- [WeGIA pre-installation installer command injection and SQL injection](https://junglewise.ai/threats/cve-2026-55679-wegia-is-a-web-manager-for-charitable-institutions-prior-to-3-8-6)
- [WeGIA unauthenticated database truncation in member endpoint](https://junglewise.ai/threats/cve-2026-54767-wegia-unauthenticated-database-truncation-in-member-endpoint)
- [WeGIA authorization bypass in InternoControle](https://junglewise.ai/threats/cve-2026-54671-wegia-authorization-bypass-in-internocontrole)
- [WeGIA insecure direct object reference in employee profile](https://junglewise.ai/threats/cve-2026-76634-wegia-insecure-direct-object-reference-in-employee-profile)
