Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeSphere SmartMag smart-mag allows PHP Local File Inclusion.This issue affects SmartMag: from n/a through <= 10.3.0.
Published: 2025-10-29
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is an improper control of filenames used in include/require statements within the ThemeSphere SmartMag theme. This flaw allows an attacker to cause the theme to include arbitrary local files, potentially enabling the reading of sensitive files or, if the supplied file contains executable PHP code, remote code execution on the vulnerable WordPress site. The weakness aligns with CWE‑98, "Improper Control of Filename for Include/Require Statement".

Affected Systems

The affected product is the WordPress SmartMag theme by ThemeSphere. All releases up to and including version 10.3.0 are impacted, as indicated by the vendor’s version range. No specific sub‑versions beyond this upper bound are mentioned.

Risk and Exploitability

The CVSS score of 7.5 signals a high severity, while the EPSS score of less than 1% indicates a very low likelihood of exploitation in the wild. The vulnerability is not listed in CISA KEV. Exploitation would likely involve supplying a crafted filename to a vulnerable include path, possibly via a URL parameter or theme configuration. Given that the inclusion is limited to local files, the attacker could read files or, if PHP code can be provided locally, achieve code execution. The overall risk remains moderate for environments where the theme handles untrusted input.

Generated by OpenCVE AI on April 29, 2026 at 12:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the SmartMag theme to version 10.4.0 or later to apply the LFI fix.
  • If an immediate update is not possible, disable or remove the theme’s file inclusion capability or replace the vulnerable include paths with hard‑coded safe paths.
  • Configure WordPress to restrict PHP include directories and enforce strict file‑path validation to prevent the execution of unintended files.

Generated by OpenCVE AI on April 29, 2026 at 12:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Jan 2026 15:30:00 +0000


Tue, 20 Jan 2026 14:45:00 +0000


Thu, 13 Nov 2025 11:30:00 +0000


Thu, 13 Nov 2025 10:45:00 +0000


Thu, 30 Oct 2025 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Themesphere
Themesphere smartmag
Wordpress
Wordpress wordpress
Vendors & Products Themesphere
Themesphere smartmag
Wordpress
Wordpress wordpress

Wed, 29 Oct 2025 15:15:00 +0000

Type Values Removed Values Added
Metrics 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'}

ssvc

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


Wed, 29 Oct 2025 09:00: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 ThemeSphere SmartMag smart-mag allows PHP Local File Inclusion.This issue affects SmartMag: from n/a through <= 10.3.0.
Title WordPress SmartMag theme <= 10.3.0 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Themesphere Smartmag
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T18:25:27.384Z

Reserved: 2025-10-29T03:07:57.236Z

Link: CVE-2025-64216

cve-icon Vulnrichment

Updated: 2025-10-29T14:34:27.972Z

cve-icon NVD

Status : Deferred

Published: 2025-10-29T09:15:42.687

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-64216

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T12:45:11Z

Weaknesses