CVE-2025-68983

WordPress Greenmart theme <= 4.2.11 - Local File Inclusion vulnerability

Published Dec 30, 2025 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in thembay Greenmart greenmart allows PHP Local File Inclusion.This issue affects Greenmart: from n/a through <= 4.2.11.

Analysis

AI-generated

Technical impact

The Greenmart WordPress theme up to version 4.2.11 contains an improper control of the filename used in PHP include/require statements (CWE‑98). This flaw can enable an attacker to supply a crafted argument that causes the application to read or execute files from the local file system. If the attacker injects code into a readable file or writes a malicious file to a path that is later included, this can lead to the execution of arbitrary code or disclosure of sensitive data.

Affected Systems

The vulnerability affects the Greenmart theme supplied by thembay. Versions ranging from the initial release through 4.2.11 are impacted. Administrators using any of these releases on a WordPress site are potentially exposed.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity level. The EPSS score of less than 1% signals a low probability of exploitation at this time, and the issue is not listed in CISA’s KEV catalog. The likely attack vector is a local file inclusion that is triggered via web input to the theme; it is inferred that the attacker must be able to supply an input value that influences the include path, possibly through a publicly reachable page. Because the exploit relies on local file access, initial compromise may require that the attacker can write files to the server or find writable directories, but once achieved, the impact can be significant.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Greenmart theme to version 4.2.12 or later if available.
  • Restrict the use of dynamic include paths in the theme by configuring it to load files only from a vetted directory, or by removing any user‑controlled arguments that influence the include path.
  • Disable or remove WordPress’s built‑in file editing, ensure proper file permissions are set on the theme directory, and prevent write access to the server’s file system from the web root.

Generated by OpenCVE AI on April 29, 2026 at 18:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

ssvc

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

Type Values Removed Values Added
Metrics cvssV3_1

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

cvssV3_1

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

Type Values Removed Values Added
First Time appeared Thembay
Thembay greenmart
Wordpress
Wordpress wordpress
Vendors & Products Thembay
Thembay greenmart
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', '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 thembay Greenmart greenmart allows PHP Local File Inclusion.This issue affects Greenmart: from n/a through <= 4.2.11.
Title WordPress Greenmart theme <= 4.2.11 - 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, 4:14 PM
Reserved
Dec 29, 2025, 11:17 AM
Status
Deferred
Published
Dec 30, 2025, 11:15 AM
Modified
Oct 7, 2026, 12:10 PM