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.
Published: 2026-03-05
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Local File Inclusion leading to potential information disclosure or code execution
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the ThemeREX Law Office WordPress theme where a filename supplied to PHP's include or require statement is insufficiently sanitized. This flaw allows an attacker to reference arbitrary files on the server, enabling disclosure of sensitive configuration or credential files and, in some cases, execution of code if a remotely controlled file can be included. The weakness is identified as an improper control of filename for include/require, which directly maps to unchecked file inclusion logic.

Affected Systems

All installations of the WordPress Law Office theme from the initial release through version 3.3.0 are impacted. In practice this means every site that has not upgraded beyond 3.3.0 and has the Law Office theme active is vulnerable, regardless of other theme or plugin configurations.

Risk and Exploitability

The CVSS score of 8.1 indicates this is a high-severity flaw. The EPSS score, while under 1%, reflects a low but nonzero probability of exploitation in the current landscape. The vulnerability is not yet listed in CISA's KEV catalog. Attackers likely leverage the flaw by manipulating the request that triggers the include/require path, potentially using directory traversal sequences to pull local files such as /etc/passwd or application configuration files. No active exploit is reported, but the high impact combined with the low EPSS warrants swift remediation.

Generated by OpenCVE AI on April 15, 2026 at 23:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Law Office theme to a version newer than 3.3.0, ensuring the vulnerability is fixed.
  • Modify the theme’s include/require calls to use a whitelist of allowed file paths, eliminating any user-supplied input from the path.
  • After applying the fix, verify that file inclusion functions are not exposed to public input and restart the web server to enforce the changes.

Generated by OpenCVE AI on April 15, 2026 at 23:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Themerex
Themerex law Office
Wordpress
Wordpress wordpress
Vendors & Products Themerex
Themerex law Office
Wordpress
Wordpress wordpress

Fri, 06 Mar 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 05 Mar 2026 06:15:00 +0000

Type Values Removed Values Added
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.
Title WordPress Law Office theme <= 3.3.0 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Themerex Law Office
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-01T14:15:31.315Z

Reserved: 2026-02-25T12:13:30.134Z

Link: CVE-2026-28046

cve-icon Vulnrichment

Updated: 2026-03-06T15:02:12.725Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-05T06:16:37.590

Modified: 2026-03-06T15:16:10.187

Link: CVE-2026-28046

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T23:15:17Z

Weaknesses