CVE-2026-28120

WordPress Dr.Patterson theme <= 1.3.2 - 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 Dr.Patterson dr-patterson allows PHP Local File Inclusion.This issue affects Dr.Patterson: from n/a through <= 1.3.2.

Analysis

AI-generated

Technical impact

The Dr.Patterson theme contains an include or require statement that uses a filename derived directly from user input without proper validation. This design flaw permits a local file inclusion (LFI) attack, enabling an attacker to load arbitrary files from the server filesystem. The description indicates that an attacker could potentially read sensitive data or execute malicious code by including PHP files. Based on the description, it is inferred that an LFI could be used to read restricted files or, if an attacker can craft a PHP file path, achieve code execution. The vulnerability is identified as CWE‑98, which addresses improper control of a filename used in include/require operations.

Affected Systems

The vulnerability affects the ThemeREX Dr.Patterson WordPress theme for all releases up to and including version 1.3.2. Sites running any of these releases are potentially exposed. The issue is documented as affecting the theme from an unspecified starting version through 1.3.2, meaning any deployment of the theme older than or equal to 1.3.2 is affected.

Risk and Exploitability

The CVSS score of 8.1 classifies the vulnerability as high severity, signaling a significant risk to confidentiality, integrity and availability if exploited. The EPSS score of less than 1% indicates a low but non‑zero likelihood of active exploitation in the wild. Because the flaw is a local file inclusion in a WordPress theme, an attacker generally needs a web request that triggers the vulnerable include. This may presuppose authenticated access or the exploitation of another weakness that provides sufficient input. Based on the description, it is inferred that, if successful, the LFI could allow reading privileged files or executing PHP code, effectively providing remote code execution on the host.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Dr.Patterson theme to the latest version (any release beyond 1.3.2).
  • Modify the theme’s inclusion logic to validate and sanitize all filenames against a strict whitelist of allowed directories and filenames.
  • Restrict PHP’s include_path and enable do‑not‑allow ‘/../’ patterns to prevent path traversal.

Generated by OpenCVE AI on April 15, 2026 at 22:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Themerex
Themerex dr.patterson
Wordpress
Wordpress wordpress
Vendors & Products Themerex
Themerex dr.patterson
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 Dr.Patterson dr-patterson allows PHP Local File Inclusion.This issue affects Dr.Patterson: from n/a through <= 1.3.2.
Title WordPress Dr.Patterson theme <= 1.3.2 - 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:46 PM
Reserved
Feb 25, 2026, 12:14 PM
Status
Deferred
Published
Mar 5, 2026, 6:16 AM
Modified
Jun 17, 2026, 10:28 AM