
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-67935 is a Local File Inclusion (LFI) vulnerability in the Mikado-Themes "Optimize" (optimizewp) WordPress theme, caused by improper control of filenames in PHP include/require statements (CWE-98). It affects all versions of the Optimize theme prior to 2.4 and was reported by Tran Nguyen Bao Khanh of VCI - VNPT Cyber Immunity on October 24, 2025, with public disclosure on January 6–8, 2026. The vulnerability carries a CVSS v3.1 base score of 8.1 (High), as assessed by CISA-ADP (Patchstack, NVD).
The root cause is classified as CWE-98 — Improper Control of Filename for Include/Require Statement in PHP Program — where user-supplied input is passed to a PHP include or require statement without adequate sanitization or validation. This allows an unauthenticated attacker to manipulate the filename parameter to include arbitrary files from the local server filesystem. No authentication is required for exploitation, though the attack complexity is rated High (AC:H), suggesting some precondition or non-trivial exploitation step is involved. No public proof-of-concept code has been identified at this time (Patchstack, NVD).
Successful exploitation allows an attacker to include and execute arbitrary files from the local filesystem, potentially exposing sensitive configuration files such as wp-config.php (which contains database credentials), application source code, and other confidential data. In scenarios where database credentials are exposed, this could lead to complete database takeover. The vulnerability affects confidentiality, integrity, and availability of the WordPress site, and could serve as a stepping stone for further compromise of the hosting environment (Patchstack).
No public proof-of-concept exploit code is known to exist, and there is no evidence of active in-the-wild exploitation at this time. The vulnerability requires no authentication, though the High attack complexity rating suggests exploitation is non-trivial. The EPSS score is approximately 0.053%, indicating a low current probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack notes that vulnerabilities of this class are commonly used in mass-exploit campaigns targeting WordPress sites (Patchstack, NVD).
style.css files.../../../../wp-config.php) to trigger the LFI.wp-config.php.../, ..%2F, %2e%2e%2f) in parameter values; requests returning unexpected file contents.wp-config.php, /etc/passwd, or other system files by the web server process; new or modified files in the theme directory.The primary remediation is to update the Optimize (optimizewp) WordPress theme to version 2.4 or later, which contains the fix for this vulnerability (Patchstack). Patchstack has also issued a virtual patching/mitigation rule for subscribers that blocks exploitation attempts until the theme is updated. As a general hardening measure, restrict PHP file inclusion capabilities at the server level (e.g., disable allow_url_include in php.ini) and apply the principle of least privilege to web server file access. Site owners unable to update immediately should consult their hosting provider or web developer for assistance.
Wordfence included this vulnerability in their weekly WordPress vulnerability report for January 5–11, 2026, highlighting it as part of a broader set of WordPress theme and plugin issues (Wordfence Blog). The vulnerability was also noted on social platforms including Mastodon and Bluesky by security news accounts such as TheHackerWire. Community reaction has been moderate, consistent with typical WordPress theme LFI disclosures, with emphasis on prompt patching given the unauthenticated attack vector.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."