
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28054 is a PHP Local File Inclusion (LFI) vulnerability in the ThemeREX Legal Stone WordPress theme, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Legal Stone theme through and including version 1.2.11. The vulnerability was published on March 5, 2026, with Patchstack credited as the assigner. It carries a CVSS v3.1 base score of 8.1 (High) (Feedly, Patchstack).
The root cause is improper validation and sanitization of user-supplied filenames passed to PHP include/require statements within the Legal Stone theme (CWE-98). An attacker can manipulate input parameters to cause the PHP interpreter to include arbitrary local files from the server's filesystem, potentially exposing sensitive configuration files (e.g., wp-config.php) or enabling code execution if writable files or PHP wrappers are leveraged. Exploitation requires high attack complexity but no authentication or user interaction, and the attack vector is network-based (Feedly).
Successful exploitation can result in unauthorized reading of sensitive server files (high confidentiality impact), modification of file contents (high integrity impact), and potential service disruption or remote code execution (high availability impact). An unauthenticated remote attacker could access WordPress configuration files containing database credentials, enabling further lateral movement or full site compromise. The vulnerability scope is unchanged, meaning impact is confined to the affected WordPress installation (Feedly).
As of the last available data, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation. The EPSS score is approximately 0.053%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. High attack complexity is a mitigating factor, though the lack of authentication requirements increases risk if complexity conditions are met (Feedly).
style.css files.include/require statements.../../../../wp-config.php) to attempt local file inclusion.wp-config.php).php://filter) to further enumerate or achieve code execution if log poisoning or other writable file vectors are available (Feedly).../, ..%2F, %2e%2e%2f) in query parameters; requests targeting wp-config.php or /etc/passwd via theme endpoints.wp-config.php, /etc/passwd, or PHP log files; presence of web shells in the theme directory if code execution was achieved.Users should update the ThemeREX Legal Stone theme to a version newer than 1.2.11 as soon as a patched release becomes available. In the interim, administrators should implement Web Application Firewall (WAF) rules to detect and block path traversal and file inclusion attempts targeting theme files. Additional hardening steps include restricting file permissions on the WordPress installation, disabling PHP allow_url_include in php.ini, and monitoring server access logs for suspicious file inclusion patterns (Feedly, Patchstack).
The vulnerability was noted in the Wordfence Intelligence Weekly WordPress Vulnerability Report covering the period of February 23 to March 1, 2026, indicating routine tracking by the WordPress security community. No significant independent researcher commentary or broader media coverage has been identified beyond standard vulnerability database listings (Wordfence).
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."