CVE-2025-58994
Published: 06 November 2025
Summary
CVE-2025-58994 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability. Its CVSS base score is 8.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 31.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2025-58994 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified as PHP Remote File Inclusion but enabling PHP Local File Inclusion, affecting the Greenify WordPress theme by designervily. This issue impacts all versions of Greenify from n/a through 2.2. The vulnerability corresponds to CWE-98 and carries a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to network accessibility and significant impacts on confidentiality, integrity, and availability.
Unauthenticated attackers (PR:N) can exploit this vulnerability over the network (AV:N) without user interaction (UI:N), though it requires high attack complexity (AC:H) and does not change scope (S:U). Successful exploitation allows local file inclusion, enabling attackers to read sensitive local files on the server and potentially achieve remote code execution if controllable PHP files are included, resulting in high impacts across confidentiality, integrity, and availability.
Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/greenify/vulnerability/wordpress-greenify-theme-2-2-local-file-inclusion-vulnerability?_s_id=cve, which documents the vulnerability in the Greenify WordPress theme version 2.2.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-38135
Vulnerability details
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in designervily Greenify greenify allows PHP Local File Inclusion.This issue affects Greenify: from n/a through <= 2.2.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is an exploitable flaw in a public-facing WordPress theme (T1190: Exploit Public-Facing Application), enabling local file inclusion to read sensitive local files (T1005: Data from Local System) and potentially remote code execution.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly requires identification, reporting, and correction of the LFI flaw in the Greenify WordPress theme to eliminate the vulnerability.
Validates user-supplied filenames in PHP include/require statements to block malicious local file paths exploited in this CVE.
Enforces secure PHP configuration settings such as disabling allow_url_include and restricting open_basedir to limit file inclusion capabilities.