CVE-2026-40284 Details
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.
A stored cross-site scripting vulnerability has been identified in WeGIA versions prior to 3.6.10. This issue allows authenticated users to inject malicious JavaScript into the 'Destinatário' field. The injected payload is saved and executed when the dispatch page is viewed, affecting other users. The vulnerability arises from improper sanitization of user input, which is later rendered in the browser without adequate encoding, enabling the execution of malicious scripts.
Users can update to WeGIA version 3.6.10 or later, where this vulnerability has been fixed. For developers, the issue can be addressed by changing how user input is handled before it is displayed. Instead of using methods that interpret HTML, such as .html(), which can execute scripts, use .text() to insert content as plain text. If HTML must be allowed, sanitize the content with a library like DOMPurify before using .html() to insert it.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 17, 2026CISA-ADP
Assessed Apr 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-mccp-8446-phw5 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LabRedesCefetRJ WeGIA | <= 3.6.9 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 17, 2026 | New CVE Received | [email protected] |
Volerion