CVE-2025-58709CWE-98

WordPress Legacy theme <= 1.9 - Local File Inclusion vulnerability

High · published December 18, 2025

CVSS v3.1
8.1
EPSS
0%
Percentile
41.8
In the wild
Unconfirmed
What it is

⚡ A tiny oversight in the include statement opens the door to a world of trouble! This PHP Local File Inclusion vulnerability in axiomthemes Legacy can let attackers access sensitive files. 🔥 Think of it like a restaurant that serves any dish just because the waiter took a vague order — if the kitchen doesn't check the details, they might serve up something unexpected! An attacker could exploit this vulnerability to gain access to any file on the server, leading to exposure of sensitive data, unauthorized file modifications, or even remote code execution. This could be absolutely devastating for your application and user trust!

Put simply

Think of it like a restaurant that serves any dish just because the waiter took a vague order — if the kitchen doesn't check the details, they might serve up something unexpected! This vulnerability arises from improper control of filenames in include or require statements, allowing attackers to manipulate the input to include local files that should never be accessible.

What to do

An attacker could exploit this vulnerability to gain access to any file on the server, leading to exposure of sensitive data, unauthorized file modifications, or even remote code execution. This could be absolutely devastating for your application and user trust! To remediate this, ensure all file inclusions are properly validated and controlled. Upgrade to a secure version of axiomthemes Legacy if available and audit your code to restrict file paths. Don't forget to implement input sanitization! You've got this! Follow these steps and you'll be securing your application in no time. 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00499 · 41.8th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-12-18T07:21Z
EPSS history
Timeline
  • 18 DEC 07:21Z
    WordPress Legacy theme <= 1.9 - Local File Inclusion vulnerability
    cvelistv5