CVE-2025-58935
Published: 18 December 2025
Summary
CVE-2025-58935 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Axiomthemes Lunna. 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.6th 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 RA-5 (Vulnerability Monitoring and Scanning) and SI-10 (Information Input Validation).
Deeper analysis
CVE-2025-58935 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 axiomthemes Lunna WordPress theme. The issue impacts all versions from n/a through 1.15, as documented in the CVE published on 2025-12-18. It is associated with 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).
The vulnerability can be exploited by unauthenticated attackers over the network, though it requires high attack complexity and no user interaction. Successful exploitation grants high-level impacts on confidentiality, integrity, and availability, potentially allowing attackers to include and execute local PHP files on the server.
Mitigation details are available in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/lunna/vulnerability/wordpress-lunna-theme-1-15-local-file-inclusion-vulnerability?_s_id=cve.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-204160
Vulnerability details
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Lunna lunna allows PHP Local File Inclusion.This issue affects Lunna: from n/a through <= 1.15.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is an LFI/RFI in a public-facing WordPress theme, directly enabling exploitation of a public-facing application for 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 PHP local file inclusion flaw in the Lunna WordPress theme to eliminate exploitability.
Mandates validation of filename inputs to PHP include/require statements, preventing improper control exploited in this CVE.
Enables vulnerability scanning to identify the PHP LFI vulnerability in the affected Lunna theme versions.