What’s Vulnerable › Vulnerabilities
CVE-2026-31895: WeGIA has a SQL Injection via Direct Query Interpolation in restaurar_produto.php
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-03-11 · updated 2026-06-17
- Weakness: CWE-89
Description
WeGIA is a web manager for charitable institutions. Prior to version 3.6.6, WeGIA (Web gerenciador para instituições assistenciais) contains a SQL injection vulnerability in html/matPat/restaurar_produto.php. The id_produto parameter from $_GET is directly interpolated into SQL queries without parameterization or sanitization. This vulnerability is fixed in 3.6.6.
Affected products
- LabRedesCefetRJ WeGIA: before 3.6.6 — fixed in 3.6.6
How to fix
Upgrade to a fixed version: LabRedesCefetRJ WeGIA 3.6.6. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-31895 or the next vulnerability affects your stack