# CVE-2026-35399: LabRedesCefetRJ WeGIA stored XSS in backup filenames

Source: https://junglewise.ai/threats/cve-2026-35399-labredescefetrj-wegia-stored-xss-in-backup-filenames  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-06. Updated: 2026-07-24  
License: CC BY 4.0 with a link back

CVE-2026-35399 · Severity: medium · CVSS 6.1 · Published 2026-04-06

WeGIA is a web-based management platform used by charitable institutions to organize their operations. A security flaw allows an attacker to upload a specially named backup file that contains malicious code. If an administrator views or attempts to delete this file within the management interface, the code executes in their browser, potentially allowing the attacker to steal session cookies, take over administrative accounts, or perform unauthorized actions on behalf of the user.

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

## Quick answers

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

**How severe is CVE-2026-35399?** Medium severity, with a CVSS score of 6.1, published 6 April 2026.

**Which products and versions are affected?** LabRedesCefetRJ WeGIA < 3.6.9.

**Is there a fix for CVE-2026-35399?** A patch was published on 2026-04-06: Fix released in version 3.6.9 Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-35399 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-35399?** 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.

## Technical details

A stored Cross-Site Scripting (XSS) vulnerability exists in WeGIA versions prior to 3.6.9. The flaw is located in the backup management component, specifically within the 'importar_dump.php' script, which fails to properly sanitize filenames during the upload and listing process. An attacker can craft a malicious gzip backup file with a filename containing JavaScript payloads (e.g., using path traversal sequences and script tags). When an authenticated administrator interacts with the backup list—such as attempting to delete the malicious entry—the script executes in the context of their session. This can lead to session hijacking via cookie theft or unauthorized administrative actions. The issue is resolved in version 3.6.9.

## Affected products

- LabRedesCefetRJ WeGIA < 3.6.9

## Timeline

- 2026-04-02: advisory: GitHub Security Advisory published
- 2026-04-06: disclosed: CVE published to NVD
- 2026-04-06: patched: Fix released in version 3.6.9

## References

- [https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-fmwv-62wf-2hgx](https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-fmwv-62wf-2hgx)

## 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 stored DOM cross-site scripting in memorandum dispatch](https://junglewise.ai/threats/cve-2026-61673-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)
