8.8high
WeGIA has a SQL Injection via Direct Query Interpolation in restaurar_produto.php
- Severity
- 8.8high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| LabRedesCefetRJ WeGIA | < 3.6.6 | CVE List |
| wegia wegia | before 3.6.6 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
WeGIA es un gestor web para instituciones asistenciales. Antes de la versión 3.6.6, WeGIA (Web gerenciador para instituições assistenciais) contiene una vulnerabilidad de inyección SQL en html/matPat/restaurar_produto.php. El parámetro id_produto de $_GET se interpola directamente en las consultas SQL sin parametrización ni saneamiento. Esta vulnerabilidad está corregida en la versión 3.6.6.
References
| https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-m39r-p62f-vmqm | exploit, mitigation, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31895 changed 2026-03-11 | CVE Terms of Use |
| NVD | CVE-2026-31895 changed 2026-06-17 | Public domain |