CVE-2026-23978CWE-98

WordPress Gyan Elements plugin <= 2.2.1 - Local File Inclusion vulnerability

High · published January 22, 2026

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

⚡ An improperly controlled filename in Gyan Elements opens the door wide for local file inclusion vulnerabilities! 🛠️ Imagine a restaurant where the chef can pull any ingredient from the pantry without checking the list—if a rogue customer wants to swap in something sneaky, they can! This vulnerability allows attackers to include any local file, bypassing safeguards just like a kitchen mishap at dinner service. An attacker could exploit this flaw to access sensitive files on the server, potentially exposing passwords, configuration details, or even executing arbitrary code. Worst case? They could take over the entire system! It's a recipe for disaster that could lead to data breaches or server takeovers if left unaddressed.

Put simply

Imagine a restaurant where the chef can pull any ingredient from the pantry without checking the list—if a rogue customer wants to swap in something sneaky, they can! This vulnerability allows attackers to include any local file, bypassing safeguards just like a kitchen mishap at dinner service. This vulnerability in Gyan Elements allows for remote file inclusion due to inadequate checks on filenames within PHP's include/require statements. This means an attacker can manipulate input and include files from the server's local file system.

What to do

An attacker could exploit this flaw to access sensitive files on the server, potentially exposing passwords, configuration details, or even executing arbitrary code. Worst case? They could take over the entire system! It's a recipe for disaster that could lead to data breaches or server takeovers if left unaddressed. Update Gyan Elements to version 2.2.2 or later to patch this vulnerability. Additionally, implement strict validation on any user-supplied filenames to ensure only safe files are included. Don't forget to review server configurations for added security measures! You've got this! Follow these steps to secure your application and keep your server safe! 🛡️

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.00462 · 39.0th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2026-01-22T16:52Z
EPSS history
Timeline
  • 22 JAN 16:52Z
    WordPress Gyan Elements plugin <= 2.2.1 - Local File Inclusion vulnerability
    cvelistv5