CVE-2025-59939
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-27

Last updated on: 2025-10-06

Assigner: GitHub, Inc.

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-27
Last Modified
2025-10-06
Generated
2026-06-16
AI Q&A
2025-09-27
EPSS Evaluated
2026-06-15
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wegia wegia to 3.5.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability is an SQL Injection in the WeGIA web manager for charitable institutions, specifically in the control.php endpoint. It occurs when the id_produto parameter is not properly sanitized or validated, allowing an attacker to inject malicious SQL commands. This can lead to unauthorized access or manipulation of the database. The issue was fixed in version 3.5.0 by applying prepared statements, sanitization, and validation.

Impact Analysis

The vulnerability can have a severe impact, including unauthorized access to sensitive data, data manipulation, and potential disruption of services. According to the CVSS score of 8.8, it allows an attacker with network access and low complexity to compromise confidentiality, integrity, and availability of the system.

Mitigation Strategies

Upgrade WeGIA to version 3.5.0 or later, where the vulnerability has been patched. Additionally, ensure that prepared statements, input sanitization, and validation are applied on the id_produto parameter to prevent SQL Injection attacks.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-59939. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart