SQL injection in WeGIA - CVE-2025-26617
Published: February 17, 2025 / Updated: April 30, 2026
WeGIA
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary SQL queries and disclose sensitive information.
The vulnerability exists due to improper neutralization of special elements used in an SQL command in the historico_paciente.php endpoint when handling the id_fichamedica GET parameter. A remote attacker can send a specially crafted request to execute arbitrary SQL queries and disclose sensitive information.
The endpoint code continues executing after redirect logic, which allows exploitation even when the requester is not logged in.