
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-28031 is a Local File Inclusion (LFI) vulnerability in the ThemeREX Invetex WordPress theme, classified under CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It affects all versions of the Invetex theme up to and including version 2.18, and was published on March 2–5, 2026. The vulnerability was discovered by Tran Nguyen Bao Khanh of VCI - VNPT Cyber Immunity and reported to Patchstack on September 30, 2025. It carries a CVSS v3.1 base score of 8.1 (High) (Patchstack).
The root cause is improper validation and sanitization of user-supplied input used in PHP include/require statements within the Invetex theme (CWE-98). An unauthenticated remote attacker can manipulate parameters passed to these PHP file inclusion functions to reference arbitrary local files on the server. No authentication or user interaction is required, though the attack complexity is rated High, suggesting specific conditions or non-default configurations may need to be met. The vulnerability is mapped to CAPEC-193 (PHP Remote File Inclusion) and was assigned Patchstack ID PSID918311494994 (Patchstack).
Successful exploitation allows an attacker to include and execute arbitrary local files on the WordPress server, potentially exposing sensitive files such as configuration files containing database credentials, WordPress wp-config.php, or system files like /etc/passwd. This can lead to full database compromise, credential theft, unauthorized code execution, and complete takeover of the WordPress installation. The vulnerability has a HIGH impact on confidentiality, integrity, and availability (Patchstack).
As of the time of publication, there is no known public proof-of-concept exploit and no evidence of active in-the-wild exploitation. The EPSS score is approximately 0.053%, indicating a low but non-negligible probability of exploitation in the near term. No threat actor attribution has been made, and the vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Patchstack notes that vulnerabilities of this class (LFI with CVSS 8.1) are frequently used in mass-exploit campaigns targeting WordPress sites (Patchstack).
template, file, or page parameter).../../../../wp-config.php or /etc/passwd, using path traversal sequences.wp-config.php) to access the WordPress database directly, create admin accounts, or pivot to further compromise the hosting environment (Patchstack).../, ..%2F, %2e%2e%2f) in parameter values; requests targeting sensitive file paths such as wp-config.php or /etc/passwd.wp-config.php, /etc/passwd, or other configuration files that should not be accessed via web requests.No official patch from ThemeREX is currently available for the Invetex theme. As an immediate measure, site owners should consider disabling or replacing the vulnerable theme until a patch is released. Patchstack has issued a virtual patching/mitigation rule for its subscribers to block exploitation attempts automatically. Additionally, deploying a Web Application Firewall (WAF) with rules targeting path traversal and local file inclusion patterns is recommended. Site owners should also monitor web server logs for suspicious file inclusion attempts and contact ThemeREX directly for patch availability (Patchstack).
Wordfence included CVE-2026-28031 in its weekly WordPress vulnerability report for the period of March 2–8, 2026, highlighting it as part of a broader set of theme vulnerabilities. Patchstack, which coordinated the disclosure, has issued a mitigation rule and classifies the vulnerability as high priority, warning that LFI vulnerabilities of this severity are commonly leveraged in mass-exploit campaigns against WordPress sites (Wordfence, Patchstack).
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."