CVE-2025-58159
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-08-29

Last updated on: 2025-09-24

Assigner: GitHub, Inc.

Description
WeGIA is a Web manager for charitable institutions. Prior to version 3.4.11, a remote code execution vulnerability was identified, caused by improper validation of uploaded files. The application allows an attacker to upload files with arbitrary filenames, including those with a .php extension. Because the uploaded file is written directly to disk without adequate sanitization or extension restrictions, a spreadsheet file followed by PHP code can be uploaded and executed on the server, leading to arbitrary code execution. This is due to insufficient mitigation of CVE-2025-22133. This issue has been patched in version 3.4.11.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-08-29
Last Modified
2025-09-24
Generated
2026-06-16
AI Q&A
2025-08-30
EPSS Evaluated
2026-06-14
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
wegia wegia to 3.4.11 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in WeGIA, a web manager for charitable institutions, allows an attacker to upload files with arbitrary filenames, including .php files, due to improper validation of uploaded files. The uploaded file is saved directly to disk without proper sanitization or restrictions on file extensions. An attacker can upload a file that appears to be a spreadsheet but contains embedded PHP code, which can then be executed on the server, leading to remote code execution.

Impact Analysis

The vulnerability can lead to remote code execution on the server hosting the WeGIA application. This means an attacker could execute arbitrary code, potentially gaining control over the server, accessing sensitive data, modifying or deleting data, disrupting services, or using the server as a foothold for further attacks.

Mitigation Strategies

Upgrade the WeGIA application to version 3.4.11 or later, as this version contains the patch that fixes the remote code execution vulnerability caused by improper validation of uploaded files. Additionally, restrict file uploads to disallow executable extensions such as .php and implement proper sanitization and validation of uploaded filenames and contents.

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