CVE-2025-26909CWE-98

WordPress Hide My WP Ghost plugin <= 5.4.01 - Local File Inclusion to RCE vulnerability

Critical · published March 27, 2025

CVSS v3.1
9.6
EPSS
1%
Percentile
52.6
In the wild
Unconfirmed
What it is

🚨 A sneaky flaw in John Darrel's Hide My WP Ghost plugin allows attackers to manipulate file includes—like swapping out ingredients in a recipe without the chef's knowledge! 🔥 Think of it like a restaurant where a waiter can change the order before the chef even sees it—a recipe for disaster if that waiter has bad intentions. In this case, the plugin could inadvertently include malicious files, leading to serious consequences! An attacker could exploit this vulnerability to access sensitive files on the server and execute arbitrary PHP code. This means they could potentially take control of your site, change configurations, or even steal data—absolutely devastating!

Put simply

Think of it like a restaurant where a waiter can change the order before the chef even sees it—a recipe for disaster if that waiter has bad intentions. In this case, the plugin could inadvertently include malicious files, leading to serious consequences! This CVE highlights a critical issue with improper control over file inclusion in the Hide My WP Ghost plugin, allowing remote file inclusion (RFI). It affects versions up to 5.4.01, where the plugin may include files based on user input without proper validation.

What to do

An attacker could exploit this vulnerability to access sensitive files on the server and execute arbitrary PHP code. This means they could potentially take control of your site, change configurations, or even steal data—absolutely devastating! To safeguard your site, immediately update the Hide My WP Ghost plugin to the latest version. Additionally, review your file inclusion practices and implement strict validation checks for user input. Regular audits can help catch any potential issues before they escalate! You've got this! With these steps, you'll reinforce your defenses and keep your site safe from harm. 🛡️

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00699 · 52.6th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-03-27T15:48Z
EPSS history
Timeline
  • 27 MAR 15:48Z
    WordPress Hide My WP Ghost plugin <= 5.4.01 - Local File Inclusion to RCE vulnerability
    cvelistv5