Skip to main content

Wegia CVE-2025-53823

| EUVDEUVD-2025-21404 HIGH
SQL Injection (CWE-89)
2025-07-14 security-advisories@github.com
8.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents a REAL and SIGNIFICANT priority despite requiring authentication (PR:L in CVSS vector). Risk signals: (1) CVSS 8.8 with High impact across Confidentiality, Integrity, and Availability indicates complete database compromise potential; (2) Network-accessible endpoint (AV:N) with Low complexity (AC:L) means exploitation is straightforward for authenticated users; (3) As an open-source project serving charitable institutions, many may lack security resources to patch promptly; (4) The authenticated requirement (PR:L) is a notable constraint—attackers need valid credentials, which reduces external attack surface but increases insider-threat risk; (5) SQL Injection in member management systems directly exposes sensitive beneficiary, donor, and organizational data. This is NOT a low-real-risk-high-CVSS issue; it is a legitimate critical priority for any WeGIA deployment, especially those handling protected personal data (common for charities).

Exploit ScenarioDerived

A malicious employee or compromised user account (PR:L: requires login) navigates to the member deletion interface in WeGIA's administrative panel. Instead of entering a valid member ID (e.g., '5'), they submit: 5' OR '1'='1'; DROP TABLE membros; -- in the id_socio parameter. The application concatenates this directly into a DELETE query such as DELETE FROM membros WHERE id_socio = 5' OR '1'='1'; DROP TABLE membros; --, which executes without validation. This results in deletion of all member records and potentially the entire membros table. An attacker with legitimate admin credentials could exfiltrate the entire database by injecting UNION-based SELECT statements to read sensitive data (donor information, beneficiary records, financial transactions) through error messages or side-channel responses. No public POC was noted in the provided source data, but SQL Injection in DELETE/UPDATE endpoints is trivial to exploit; POCs likely exist on security forums or GitHub.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 16, 2026

WeGIA versions prior to 3.4.5 contain a SQL Injection vulnerability in the member deletion endpoint that allows authenticated users to execute arbitrary SQL commands via the id_socio parameter. This high-severity vulnerability (CVSS 8.8) compromises the confidentiality, integrity, and availability of the entire database. The vulnerability requires valid credentials to exploit but offers complete database compromise once authenticated.

RemediationAI

Immediate remediation: (1) Upgrade WeGIA to version 3.4.5 or later, which contains the fix for this SQL Injection vulnerability; (2) Short-term mitigation for unpatched systems: Implement Web Application Firewall (WAF) rules to block SQL metacharacters in the id_socio parameter (filter single quotes, double quotes, semicolons, and SQL keywords like UNION, SELECT, DROP); (3) Apply principle of least privilege to database accounts used by WeGIA—limit to SELECT, INSERT, UPDATE, DELETE only on necessary tables; (4) Restrict access to the /WeGIA/html/socio/sistema/ endpoint using network-level access controls to trusted administrators; (5) Enable database query logging and audit logs to detect exploitation attempts; (6) For long-term security: Ensure all user input is validated against a strict allowlist (id_socio should be numeric only), use parameterized queries/prepared statements in all PHP code, and implement code review processes for SQL-generating functions.

Affected VersionsENISA

WeGIA < 3.4.5

Affected Packages

euvd wegia fix: 3.4.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability exists in /WeGIA/html/socio/sistema/processa_deletar_socio.php, a PHP-based endpoint designed to delete member records. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), indicating that user-supplied input in the id_socio parameter is directly concatenated into SQL queries without proper parameterization or input validation. WeGIA is a Portuguese-language web management system tailored for charitable institutions (NGOs, social organizations), making the affected user base primarily non-profit entities managing member databases. The lack of prepared statements or input sanitization allows attackers to inject SQL metacharacters and execute arbitrary database commands.

Know when Wegia gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Updated
Apr 16, 2026 - 06:26 EUVD-patch-fix
executive summary
Patch available
Apr 16, 2026 - 05:29 EUVD
3.4.5
PoC Detected
Jul 15, 2025 - 20:15 vuln.today
Public exploit code
CVE Published
Jul 14, 2025 - 23:15 nvd
HIGH 8.8

DescriptionGitHub Advisory

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Versions prior to 3.4.5 have a SQL Injection vulnerability in the endpoint /WeGIA/html/socio/sistema/processa_deletar_socio.php, in the id_socio parameter. This vulnerability allows the execution of arbitrary SQL commands, which can compromise the confidentiality, integrity, and availability of stored data. Version 3.4.5 fixes the issue.

Executive ViewAI

Why It Matters

WeGIA versions before 3.4.5 contain a SQL injection vulnerability in the member deletion function that allows authenticated users with valid credentials to compromise the entire database, including data exfiltration and manipulation. This requires immediate patching of all WeGIA instances to prevent insider threats and credential-based attacks from escalating to full database compromise.

Business Impact: High
Compensating Controls

Apply vendor patch. If patching cannot be completed immediately: restrict member deletion functionality to administrators only via role-based access controls; implement database-level query logging and alerting on unexpected SQL patterns in the member deletion endpoint; enforce IP whitelisting for administrative access; conduct enhanced monitoring of database activity from application user accounts.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

64
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Wegia

View all
CVE-2025-50201 CRITICAL POC
9.8 Jun 19

Critical OS Command Injection vulnerability in WeGIA (a web management system for charitable institutions) versions prio

CVE-2025-27140 CRITICAL POC
10.0 Feb 24

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26613 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-55169 CRITICAL POC
10.0 Aug 12

WeGIA is an open source web manager with a focus on the Portuguese language and charitable institutions. Rated critical

CVE-2025-30364 CRITICAL POC
10.0 Mar 27

WeGIA is a Web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-46828 CRITICAL POC
10.0 May 07

WeGIA is a web manager for charitable institutions. Rated critical severity (CVSS 10.0), this vulnerability is remotely

CVE-2025-26612 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26617 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26611 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26609 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26608 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

CVE-2025-26607 CRITICAL POC
10.0 Feb 18

WeGIA is an open source Web Manager for Institutions with a focus on Portuguese language users. Rated critical severity

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy