CVE-2025-68908CWE-98

WordPress Barberry theme <= 2.9.9.87 - Local File Inclusion vulnerability

High · published January 22, 2026

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

⚡ A mismanaged filename could lead to disastrous consequences! Imagine if your server blindly accepted any file request — that’s the essence of CVE-2025-68908 in temash Barberry. 🔥 Think of it like a restaurant that lets customers order any dish without checking if it exists. If a customer whimsically asks for a dish that’s not on the menu, the kitchen could end up making something entirely inappropriate or dangerous — that’s what happens here with PHP file inclusion! An attacker could potentially include any file from the server, leading to unauthorized access to sensitive information or even remote code execution. This means they could read, modify, or delete files, all while causing absolute chaos in your system!

Put simply

Think of it like a restaurant that lets customers order any dish without checking if it exists. If a customer whimsically asks for a dish that’s not on the menu, the kitchen could end up making something entirely inappropriate or dangerous — that’s what happens here with PHP file inclusion! This vulnerability stems from improper control of the filename passed to PHP's include/require statements, which can lead to local file inclusion (LFI). Attackers could exploit this flaw to include files from the server’s filesystem, which may allow them to execute malicious scripts.

What to do

An attacker could potentially include any file from the server, leading to unauthorized access to sensitive information or even remote code execution. This means they could read, modify, or delete files, all while causing absolute chaos in your system! To mitigate this, ensure you update to version 2.9.9.88 or later of Barberry. Additionally, implement strict filename validation and avoid allowing user input to directly dictate file paths. Regularly audit your application for any potential misuse of include/require statements! You've got this! With these steps, you’ll be on your way to fixing this vulnerability and 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.00520 · 43.3th 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 Barberry theme <= 2.9.9.87 - Local File Inclusion vulnerability
    cvelistv5