---
id: CVE-2025-59939
title: WeGIA is a Web manager for charitable institutions
summary: >-
  WeGIA is a Web manager for charitable institutions. Prior to version 3.5.0,
  WeGIA is vulnerable to SQL Injection attacks in the control.php endpoint with
  the following parameters:
  nomeClasse=ProdutoControle&metodo=excluir&id_produto=[mal…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-89
vendor: wegia
product: wegia
affected:
  - wegia < 3.5.0
patched:
  - wegia 3.5.0
published: '2025-09-27'
updated: '2026-10-09'
sourceUpdated: '2026-10-09T10:10:00.193'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-59939'
references:
  - url: >-
      https://github.com/LabRedesCefetRJ/WeGIA/security/advisories/GHSA-jx9m-pgf8-v489
    label: security-advisories@github.com
tags:
  - nvd
epss: 0.00373
epssPercentile: 0.29125
ingestedAt: '2026-10-09T12:53:28.076Z'
---

## Overview

WeGIA is a Web manager for charitable institutions. Prior to version 3.5.0, WeGIA is vulnerable to SQL Injection attacks in the control.php endpoint with the following parameters: nomeClasse=ProdutoControle&metodo=excluir&id_produto=[malicious command]. It is necessary to apply prepared statements methods, sanitization, and validations on theid_produto parameter. This issue has been patched in version 3.5.0.

## Affected

- `wegia < 3.5.0`

## Remediation

Upgrade past the affected range:

- `wegia 3.5.0`
