CVE-2025-68983CWE-98

CVE-2025-68983

High · published December 30, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
37.6
In the wild
Unconfirmed
What it is

⚡ A misconfigured PHP include statement could let an attacker run any file on your server — like inviting a stranger to rummage through your personal belongings! 🔥 Think of it like a restaurant chef who doesn't check the order tickets — they might throw in any old ingredient that someone requested, regardless of whether it should be in the dish. Similarly, the improper control in this PHP file inclusion allows unauthorized access to potentially sensitive files. An attacker could exploit this vulnerability to include malicious scripts or read sensitive system files, leading to total compromise of the server. Imagine them prying open the doors to your digital vault — they could change, delete, or siphon off valuable data!

Put simply

Think of it like a restaurant chef who doesn't check the order tickets — they might throw in any old ingredient that someone requested, regardless of whether it should be in the dish. Similarly, the improper control in this PHP file inclusion allows unauthorized access to potentially sensitive files. This vulnerability in the Greenmart PHP application allows local file inclusion due to improper control of the filename in include/require statements, making it easy for an attacker to manipulate the input and execute unauthorized files.

What to do

An attacker could exploit this vulnerability to include malicious scripts or read sensitive system files, leading to total compromise of the server. Imagine them prying open the doors to your digital vault — they could change, delete, or siphon off valuable data! To protect your application, upgrade Greenmart to version 4.2.12 or later. Ensure strict validation on user inputs for file names and consider implementing an allowlist for permissible files to include. Regularly audit your server for any unauthorized files or scripts. You’ve got this! By following these steps, you’ll fortify your defenses and keep those digital intruders at bay! 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00445 · 37.6th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-12-30T16:15Z
References (1)
EPSS history
Timeline
  • 30 DEC 10:47Z
    WordPress Greenmart theme <= 4.2.11 - Local File Inclusion vulnerability
    cvelistv5