CVE-2026-31895: WeGIA has a SQL Injection via Direct Query Interpolation in restaurar_produto.php

Published Mar 11, 2026
·
Updated

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/restaurarproduto.php. The idproduto parameter from $GET is directly interpolated into SQL queries without parameterization or sanitization. This vulnerability is fixed in 3.6.6.

Affected Software

2 affected components
WeGIA WeGIA<3.6.6
WeGIA WeGIA<3.6.6

Event History

Mar 11, 2026
CVE Published
via MITRE·07:08 PM
Data Sourced
via MITRE·07:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31895?

CVE-2026-31895 is considered a high severity vulnerability due to its potential for SQL injection attacks.

2

How do I fix CVE-2026-31895?

To fix CVE-2026-31895, upgrade WeGIA to version 3.6.6 or later to mitigate the SQL injection vulnerability.

3

What impact does CVE-2026-31895 have on WeGIA?

CVE-2026-31895 allows attackers to execute arbitrary SQL queries, potentially compromising sensitive data and altering database contents.

4

Which versions of WeGIA are affected by CVE-2026-31895?

CVE-2026-31895 affects all versions of WeGIA prior to version 3.6.6.

5

Is it necessary to take immediate action for CVE-2026-31895?

Yes, it is crucial to take immediate action to patch CVE-2026-31895 to prevent exploitation and potential data breaches.

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