CVE-2025-59939: WeGIA vulnerable to SQL Injection into method `excluir` of the `ProdutoControle` class in the parameter `id_produto`.

Published Sep 27, 2025
·
Updated

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&idproduto=[malicious command]. It is necessary to apply prepared statements methods, sanitization, and validations on theidproduto parameter. This issue has been patched in version 3.5.0.

Affected Software

2 affected components
WeGIA WeGIA<3.5.0
WeGIA WeGIA<3.5.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade WeGIA to a version that resolves this vulnerability.

    Fixed in 3.5.0
  2. Configuration

    Apply prepared statements, sanitization, and validations to the id_produto parameter in the ProdutoControle excluir method.

    WeGIA id_produto input handling = prepared statements, sanitization, and validations

Event History

Sep 27, 2025
CVE Published
via MITRE·12:38 AM
Data Sourced
via MITRE·12:38 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-59939?

CVE-2025-59939 has a high severity rating due to the potential for SQL Injection vulnerabilities.

2

How do I fix CVE-2025-59939?

To fix CVE-2025-59939, update WeGIA to version 3.5.0 or later to eliminate the SQL Injection vulnerability.

3

What systems are affected by CVE-2025-59939?

CVE-2025-59939 affects versions of WeGIA prior to version 3.5.0.

4

What type of attack does CVE-2025-59939 enable?

CVE-2025-59939 allows attackers to perform SQL Injection attacks through specific parameters in the control.php endpoint.

5

Is it safe to continue using WeGIA if I haven't patched CVE-2025-59939?

Continuing to use WeGIA without patching CVE-2025-59939 poses significant security risks due to potential SQL Injection exploits.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203