Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Legacy legacy allows PHP Local File Inclusion.This issue affects Legacy: from n/a through <= 1.9.
Published: 2025-12-18
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw arises from improper control of the filename supplied to an include/require statement in the Legacy WordPress theme, allowing an attacker to read arbitrary files on the local filesystem. An attacker who can trigger the inclusion could read sensitive files such as configuration files, database credentials, or other data, leading to compromise of confidentiality and potentially further attacks such as session hijacking or credential theft. The vulnerability is identified as CWE‑98 and is rated with a CVSS score of 8.1.

Affected Systems

The affected product is the Legacy theme provided by AxiomThemes, versions n/a through 1.9 inclusive. Any WordPress installation using the Legacy theme up to and including version 1.9 is susceptible.

Risk and Exploitability

The EPSS score for this vulnerability is less than 1%, indicating a low but nonzero probability of exploitation, and it is not currently listed in the CISA KEV catalog. The high CVSS rating reflects a significant potential impact if successfully abused. While the description refers to a local file inclusion, it is likely that a remote attacker can exercise this control via crafted URLs or form input on the WordPress site, making remote exploitation a realistic threat in publicly accessible deployments.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Legacy theme to version 2.0 or later, which removes the vulnerable filename handling.
  • If an upgrade is not immediately possible, limit the web server’s file system access to the theme directory by setting strict file permissions and/or applying an open_basedir restriction so that included files cannot escape the intended directory.
  • Review or modify the theme’s code to ensure that any filename passed to include/require is not derived directly from user input; apply strict validation, sanitization, or a whitelist of allowed files before inclusion.

Generated by OpenCVE AI on April 29, 2026 at 13:13 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


Tue, 23 Dec 2025 20:15:00 +0000

Type Values Removed Values Added
First Time appeared Axiomthemes
Axiomthemes legacy
CPEs cpe:2.3:a:axiomthemes:legacy:*:*:*:*:*:wordpress:*:*
Vendors & Products Axiomthemes
Axiomthemes legacy

Fri, 19 Dec 2025 09:30:00 +0000

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

Thu, 18 Dec 2025 19:15:00 +0000

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'}


Thu, 18 Dec 2025 07:45: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 axiomthemes Legacy legacy allows PHP Local File Inclusion.This issue affects Legacy: from n/a through <= 1.9.
Title WordPress Legacy theme <= 1.9 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Axiomthemes Legacy
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T20:15:01.398Z

Reserved: 2025-09-03T12:43:12.584Z

Link: CVE-2025-58709

cve-icon Vulnrichment

Updated: 2025-12-18T18:56:46.908Z

cve-icon NVD

Status : Modified

Published: 2025-12-18T08:15:57.117

Modified: 2026-01-20T15:17:07.133

Link: CVE-2025-58709

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T13:15:11Z

Weaknesses