CVE-2025-58949CWE-98

CVE-2025-58949

High · published December 18, 2025

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

⚡ A crafty little oversight in the way PHP handles file inclusions opens a door for attackers! Think of it like a restaurant that lets customers order items without confirming they’re on the menu — if someone orders a dish that leverages a shady recipe, the whole kitchen could be compromised! An attacker could exploit this vulnerability to include malicious files from an external server, potentially allowing them to execute harmful code on your server. This means they could gain unauthorized access, manipulate data, or even take full control of your website!

Put simply

Think of it like a restaurant that lets customers order items without confirming they’re on the menu — if someone orders a dish that leverages a shady recipe, the whole kitchen could be compromised! The PHP Remote File Inclusion vulnerability in axiomthemes Spock allows attackers to improperly control the filename in include/require statements, leading to local file inclusion exploits. This bug affects versions of Spock from n/a through 1.17.

What to do

An attacker could exploit this vulnerability to include malicious files from an external server, potentially allowing them to execute harmful code on your server. This means they could gain unauthorized access, manipulate data, or even take full control of your website! To protect your application, patch Spock to the latest version right away, and ensure that all file inclusion statements are validated with strict whitelist checks. Also, consider implementing additional security measures like disabling remote file inclusion in your PHP configuration. You've got this! By taking these steps, you’ll be reinforcing your defenses 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.00535 · 44.3th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-12-18T13:16Z
Affected products (1)
ProductVersionsFixed in
axiomthemes/spock≤ 1.17—
References (1)
EPSS history
Timeline
  • 18 DEC 07:21Z
    WordPress Spock theme <= 1.17 - Local File Inclusion vulnerability
    cvelistv5