# CVE-2026-45335: LabRedesCefetRJ WeGIA open redirect in control.php

Source: https://junglewise.ai/threats/cve-2026-45335-labredescefetrj-wegia-open-redirect-in-control-php  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-05-27. Updated: 2026-05-27  
License: CC BY 4.0 with a link back

CVE-2026-45335 · Severity: medium · CVSS 5.4 · Published 2026-05-27

WeGIA is a web-based management platform used by charitable institutions to organize their operations. A security flaw in the application allows attackers to redirect logged-in users to external, potentially malicious websites. This could be used in phishing campaigns to steal user credentials or distribute malware by making a malicious link appear to come from a trusted institutional domain.

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

## Quick answers

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

**How severe is CVE-2026-45335?** Medium severity, with a CVSS score of 5.4, published 27 May 2026.

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

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

**How is CVE-2026-45335 attacked?** It is attacked over the network, in a network appliance.

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

An open redirect vulnerability exists in the `control.php` endpoint of WeGIA due to insufficient validation of the `nextPage` parameter. When the application processes a request with `metodo=listarTodos` and `nomeClasse=InternoControle`, it fails to restrict the destination URL passed to the `header('Location: ...')` function. Exploitation requires the attacker to have a low-privileged authenticated session, as the middleware allows any logged-in user to pass when a resource list is empty. An attacker can craft a URL that, when clicked by an authenticated user, redirects them to an untrusted external domain. This issue is resolved in version 3.7.3.

## Affected products

- LabRedesCefetRJ WeGIA <= 3.7.2

## Timeline

- 2026-05-09: advisory: GitHub advisory published by developer
- 2026-05-27: disclosed: CVE published to NVD
- 2026-05-27: patched: Fix released in version 3.7.3

## References

- [https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-x85f-76c9-qw3x](https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-x85f-76c9-qw3x)

## 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)
