CVE-2025-49366CWE-98

WordPress Hanani theme <= 1.2.11 - Local File Inclusion vulnerability

High · published December 18, 2025

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

⚡ An improper control of filename in AncoraThemes Hanani lets attackers sneak in local files like a thief slipping a forged delivery note past an untrained receptionist! It's like a restaurant accepting any old takeout order without checking if it matches the customer's reservation — one wrong slip could bring in something dangerous or unwanted. In this case, the server is all too willing to include files without verifying their authenticity. An attacker could exploit this vulnerability to include local files, potentially exposing sensitive information or executing malicious scripts. This could lead to unauthorized access or a complete compromise of the server, leaving your data vulnerable and your reputation on the line.

Put simply

It's like a restaurant accepting any old takeout order without checking if it matches the customer's reservation — one wrong slip could bring in something dangerous or unwanted. In this case, the server is all too willing to include files without verifying their authenticity. This PHP Remote File Inclusion vulnerability in AncoraThemes Hanani allows attackers to manipulate file inclusion due to improper controls on filenames, enabling local file inclusion possibilities in versions up to 1.2.11.

What to do

An attacker could exploit this vulnerability to include local files, potentially exposing sensitive information or executing malicious scripts. This could lead to unauthorized access or a complete compromise of the server, leaving your data vulnerable and your reputation on the line. Immediately update to the patched version of Hanani if you’re running 1.2.11 or lower. Additionally, review your code to ensure strict validation of file includes and restrict any unnecessary file access. Your server's integrity depends on it! This is fixable! Follow these steps, and you'll have your system secured 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-18T07:21Z
EPSS history
Timeline
  • 18 DEC 07:21Z
    WordPress Hanani theme <= 1.2.11 - Local File Inclusion vulnerability
    cvelistv5