CVE-2025-64216

WordPress SmartMag theme <= 10.3.0 - Local File Inclusion vulnerability

Published Oct 29, 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 ThemeSphere SmartMag smart-mag allows PHP Local File Inclusion.This issue affects SmartMag: from n/a through <= 10.3.0.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

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
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, 6:25 PM
Reserved
Oct 29, 2025, 3:07 AM
Status
Deferred
Published
Oct 29, 2025, 9:15 AM
Modified
Jun 17, 2026, 9:54 AM