CVE-2026-28046

WordPress Law Office theme <= 3.3.0 - Local File Inclusion vulnerability

Published Mar 5, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Themerex
Themerex law Office
Wordpress
Wordpress wordpress
Vendors & Products Themerex
Themerex law Office
Wordpress
Wordpress wordpress
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'}

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
Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 5:33 PM
Reserved
Feb 25, 2026, 12:13 PM
Status
Deferred
Published
Mar 5, 2026, 6:16 AM
Modified
Jun 17, 2026, 10:28 AM