WeGIA Reflected Cross-Site Scripting Vulnerability in Password Change Endpoint

Vulnerability

A reflected cross-site scripting vulnerability has been identified in the WeGIA application, specifically in versions through 3.4.7. The issue is located in the '/html/alterar_senha.php' endpoint, where the application fails to properly validate and sanitize user inputs in the 'verificacao' and 'redir_config' parameters. This lack of input validation allows attackers to inject malicious scripts that are executed in the context of the user's browser.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where injected scripts are executed in the context of the user's browser. This could lead to session cookie theft, virtual defacement of the website, and unauthorized actions performed on behalf of the user.

Reproduction

To reproduce this vulnerability, send a GET request to the '/html/alterar_senha.php' endpoint with the 'verificacao' and 'redir_config' parameters. Include a payload in the 'verificacao' parameter that injects a script, such as one that alerts the document cookie. The injected script will be executed in the user's browser, demonstrating the cross-site scripting vulnerability.

Remediation

Users can update to WeGIA version 3.4.8 or later, where this vulnerability has been patched.

Added: Sep 1, 2025, 7:22 PM
Updated: Sep 1, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.8
remediation
7.7
relevance
0.4
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.