Ad

CVE-2026-33134

CRITICAL CVSS 3.1: 8.8 EPSS 0.03%
Updated Mar 20, 2026
PHP
Parameter Value
CVSS 8.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. Versions 3.6.5 and below contain an authenticated SQL Injection vulnerability in the html/matPat/restaurar_produto.php endpoint. The vulnerability allows an authenticated attacker to inject arbitrary SQL commands via the id_produto GET parameter, leading to full database compromise.

In the script /html/matPat/restaurar_produto.php, the application retrieves the id_produto parameter directly from the $_GET global array and interpolates it directly into two SQL query strings without any sanitization, type-casting (e.g., (int)), or using parameterized (prepare/execute) statements. This issue has been fixed in version 3.6.6.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic 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