Ad

CVE-2026-31896

CRITICAL CVSS 3.1: 9.8 EPSS 0.04%
Updated Mar 13, 2026
PHP
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 3.6.6
Fixed In 3.6.6
Type CWE-89 (SQL Injection)
Vendor PHP
Public PoC No

WeGIA is a web manager for charitable institutions. Prior to version 3.6.6, a critical SQL injection vulnerability exists in the WeGIA application. The remover_produto_ocultar.php script uses extract($_REQUEST) to populate local variables and then directly concatenates these variables into a SQL query executed via PDO::query.

This allows an authenticated (or auth-bypassed) attacker to execute arbitrary SQL commands. This can be used to exfiltrate sensitive data from the database or, as demonstrated in this PoC, cause a time-based delay (denial of service). This vulnerability is fixed in 3.6.6.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Wegia Wegia
cpe:2.3:a:wegia:wegia:*:*:*:*:*:*:*:*
3.6.6