WeGIA Reflected Cross-Site Scripting Vulnerability in the cadastro_dependente_pessoa_nova.php Endpoint

Vulnerability

A reflected cross-site scripting vulnerability has been identified in the WeGIA application, specifically within the 'cadastro_dependente_pessoa_nova.php' endpoint. This issue allows attackers to inject malicious scripts through the 'id_funcionario' parameter. The vulnerability arises from inadequate validation and sanitization of user inputs, enabling the injection of harmful payloads 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 can lead to various consequences, such as stealing cookies, manipulating account information, or executing malicious code on the user's device.

Reproduction

To reproduce this vulnerability, send a GET request to the 'cadastro_dependente_pessoa_nova.php' endpoint with a crafted 'id_funcionario' parameter that includes a script payload, such as a JavaScript alert. The injected script will be executed in the browser, demonstrating the cross-site scripting vulnerability.

Remediation

Users can update to WeGIA version 3.4.3, which addresses this vulnerability by implementing proper validation and sanitization of the 'id_funcionario' parameter.

Added: Jul 7, 2025, 5:57 PM
Updated: Jul 7, 2025, 5:57 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.8
remediation
7.7
relevance
0.2
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.