CVE-2025-58935
Published: 18 December 2025
Description
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.
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.
Security SummaryAI
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.
Details
- CWE(s)
Affected Products
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.