CVE-2026-40284 WeGIA has stored XSS in listar_despachos.php
Authenticated users can inject malicious JavaScript via the Destinatário field, leading to stored XSS execution for other users viewing dispatch pages.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-40284?
CVE-2026-40284 is a medium-severity cross-site scripting vulnerability in LabRedesCefetRJ WeGIA, published on 17 Apr 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
WeGIA is a web manager for charitable institutions. In versions prior to 3.6.10, a Stored Cross-Site Scripting (XSS) vulnerability allows an authenticated user to inject malicious JavaScript via the "Destinatário" field. The payload is stored and later executed when viewing the dispatch page, impacting other users. Version 3.6.10 fixes the issue.
Weakness: CWE-79
Which versions are affected by CVE-2026-40284?
How do I fix CVE-2026-40284?
No fix has been published for CVE-2026-40284 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2026-40284 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-40284 exists.
Sources
Also known as GHSA-mccp-8446-phw5.