CVE-2025-49883

WordPress Greenmart theme <= 4.2.3 - Local File Inclusion Vulnerability

Published Jun 27, 2025 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 thembay Greenmart greenmart allows PHP Local File Inclusion.This issue affects Greenmart: from n/a through <= 4.2.3.

Analysis

AI-generated

Technical impact

The vulnerability arises from improper control of the filename used in PHP include/require statements within the Greenmart WordPress theme. An attacker can manipulate request parameters to include local files, potentially executing arbitrary PHP code or reading sensitive files from the server. This flaw can be leveraged to gain unauthorized access or exfiltrate data stored on the web server.

Affected Systems

Any WordPress site that has installed the Greenmart theme version 4.2.3 or earlier is affected. The issue covers all releases from the initial version up through 4.2.3, meaning any WordPress deployment that has not upgraded beyond that point is at risk.

Risk and Exploitability

The CVSS score of 8.1 marks it as high severity, yet the EPSS score below 1% indicates a low probability of active exploitation at present. The flaw does not require authentication and can be triggered via a crafted HTTP request, making it accessible to remote attackers. Because it is not listed in the CISA KEV catalog, there is no publicly confirmed exploitation, but the existence of the vulnerability warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Greenmart theme to the latest version (4.2.4 or newer) to remove the LFI flaw.
  • Delete any old or backup files of the Greenmart theme that may still exist on the server to eliminate residual attack vectors.
  • Implement a web application firewall rule or input validation to block suspicious filename patterns that could trigger an LFI attack, as a temporary safeguard until the patch is applied.

Generated by OpenCVE AI on April 30, 2026 at 17:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-19287 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in thembay Greenmart allows PHP Local File Inclusion. This issue affects Greenmart: from n/a through 4.2.3.
History
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'}

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 allows PHP Local File Inclusion. This issue affects Greenmart: from n/a through 4.2.3. 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.3.
References
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'}

Type Values Removed Values Added
Metrics 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 thembay Greenmart allows PHP Local File Inclusion. This issue affects Greenmart: from n/a through 4.2.3.
Title WordPress Greenmart theme <= 4.2.3 - Local File Inclusion Vulnerability
Weaknesses CWE-98
References
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'}

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:13 PM
Reserved
Jun 11, 2025, 4:06 PM
Status
Deferred
Published
Jun 27, 2025, 12:15 PM
Modified
Jun 17, 2026, 9:32 AM