CVE-2025-49366
Published: 18 December 2025
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Hanani hanani allows PHP Local File Inclusion.This issue affects Hanani: from n/a through <= 1.2.11.
Mitigating Controls (NIST 800-53 r5)AI
Directly remediates the PHP Local File Inclusion flaw in the Hanani WordPress theme by identifying, patching, and verifying the vulnerable include/require statements.
Requires validation of filename inputs to PHP include/require functions to block arbitrary local file inclusion attempts.
Enforces secure PHP configuration settings like open_basedir restrictions to limit file access paths exploitable by LFI vulnerabilities.
Security SummaryAI
CVE-2025-49366 is an Improper Control of Filename for Include/Require Statement vulnerability in PHP programs, specifically a PHP Remote File Inclusion issue that enables PHP Local File Inclusion (CWE-98). It affects the Hanani WordPress theme developed by AncoraThemes, impacting all versions from n/a through 1.2.11. Published on 2025-12-18, the vulnerability carries a CVSS v3.1 base score of 8.1 (High).
A remote, unauthenticated attacker can exploit this over the network with high attack complexity and no user interaction required (AV:N/AC:H/PR:N/UI:N/S:U). Successful exploitation grants high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H), allowing attackers to include and potentially execute arbitrary local files, which could lead to sensitive data disclosure or server compromise in a PHP environment.
The primary advisory is available from Patchstack at https://patchstack.com/database/Wordpress/Theme/hanani/vulnerability/wordpress-hanani-theme-1-2-11-local-file-inclusion-vulnerability?_s_id=cve, detailing the WordPress theme-specific vulnerability.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI vulnerability in public-facing WordPress theme directly enables exploitation of public-facing applications.