CVE-2025-49366
Published: 18 December 2025
Summary
CVE-2025-49366 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability. Its CVSS base score is 8.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 35.2th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
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.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-204237
Vulnerability details
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI vulnerability in public-facing WordPress theme directly enables exploitation of public-facing applications.
CVEs Like This One
Affected Assets
Mitigating Controls
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.