Summary
CVE-2025-58902 is a high-severity unauthenticated Local File Inclusion (LFI) vulnerability in the AncoraThemes Lighthouse WordPress theme, affecting all versions up to and including 1.2.12. Exploitable remotely without any credentials or user interaction, the flaw enables attackers to manipulate server-side file include operations and read arbitrary files from the host server, potentially exposing sensitive configuration data such as database credentials. The vulnerability carries a CVSS v3.1 base score of 8.1 (High).
Technical details
- Root cause: The theme fails to adequately validate or sanitize user-supplied input before passing it to PHP
include/requirestatements (CWE-98: Improper Control of Filename for Include/Require Statement in PHP Program). This allows an attacker to craft requests that manipulate the filename parameter to reference arbitrary files on the server’s filesystem. - Trigger conditions: Exploitation requires network access to the affected WordPress installation and specific server-side conditions consistent with the High Attack Complexity (AC:H) rating in the CVSS vector. No authentication and no user interaction are required.
- Attack vector: Remote, unauthenticated HTTP/HTTPS request to the vulnerable WordPress site over the network.
- Impact: Successful exploitation can expose sensitive server-side files — including those containing database credentials — potentially allowing complete database takeover depending on the server configuration. CVSS impact scores are High across Confidentiality, Integrity, and Availability.
Affected software
- AncoraThemes Lighthouse WordPress Theme, versions <= 1.2.12
Severity
- CVSS v3.1 Base Score: 8.1 (High)
- Vector String:
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- No official vendor patch has been released by AncoraThemes as of the publication date of this advisory (July 2, 2026).
- Immediate: If the Lighthouse theme is not required for current site operation, deactivate and remove it until a patched version is made available.
- If removal is not immediately possible: Apply Web Application Firewall (WAF) rules to detect and block directory traversal and file inclusion patterns targeting the WordPress theme’s endpoints.
- Additional hardening: Configure PHP’s
open_basedirdirective to restrict filesystem access to only the directories required by the application, limiting the scope of any potential file inclusion attempt. - Monitor the AncoraThemes ThemeForest product page and the official CVE record for patch availability.
IONIX Status
The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

