CVE-2026-31895
published high CVSS 3.1 · 8.8WeGIA has a SQL Injection via Direct Query Interpolation in restaurar_produto.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| LabRedesCefetRJ | — | WeGIA< 3.6.6 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| LabRedesCefetRJ | WeGIA | < 3.6.6 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-89 CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
1Provider assertions
2GitHub_M · cna
WeGIA has a SQL Injection via Direct Query Interpolation in restaurar_produto.php
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 44c1995343f0c3f9b0f9301c5e67cb58ee1a363b58dda152aa7c92242c12a704
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record