CVE-2026-28046
Published: 05 March 2026
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Law Office law-office allows PHP Local File Inclusion.This issue affects Law Office: from n/a through <= 3.3.0.
Mitigating Controls (NIST 800-53 r5)AI
Directly validates user-supplied filenames in PHP include/require statements within the Law Office WordPress theme to block local file inclusion attacks.
Provides timely remediation by patching the specific LFI flaw in Law Office theme versions through 3.3.0, eliminating the vulnerability.
Restricts filenames accepted for PHP includes in the vulnerable theme to an approved whitelist, preventing traversal to arbitrary local files.
Security SummaryAI
CVE-2026-28046 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, in the ThemeREX Law Office (law-office) WordPress theme. This issue affects all versions from n/a through 3.3.0 and was published on 2026-03-05. 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).
An unauthenticated attacker (PR:N) can exploit this vulnerability remotely over the network (AV:N) with high attack complexity (AC:H) and without requiring user interaction (UI:N). Successful exploitation allows high-impact compromise of confidentiality, integrity, and availability (C:H/I:H/A:H), potentially enabling attackers to include and execute local files on the server.
Mitigation details are provided in the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/law-office/vulnerability/wordpress-law-office-theme-3-3-0-local-file-inclusion-vulnerability?_s_id=cve.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
The vulnerability is a PHP file inclusion flaw in a public-facing WordPress theme, directly enabling exploitation of a public-facing web application.