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.
Published: 2025-12-18
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is an improper control of filenames in PHP include/require statements, allowing the application to include arbitrary files on the local filesystem and potentially execute code. This weakness is classified as CWE-98 – Improper Control of Filename for Include/Require.

Affected Systems

WordPress installations that use AncoraThemes Hanani version 1.2.11 or earlier are affected; the issue covers all releases from the first available version up through 1.2.11.

Risk and Exploitability

The CVSS score of 8.1 indicates high severity, while the EPSS score of less than 1 % suggests exploitation is currently unlikely. The vulnerability is not listed in the CISA KEV catalog. Attackers would most likely exploit the flaw by sending crafted web requests that manipulate the include path; no public exploit has been reported, so the risk hinges on manual exploitation attempts.

Generated by OpenCVE AI on April 30, 2026 at 14:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Hanani theme to the latest version that removes the filename control flaw.
  • Restrict file permissions or use web‑server directives (e.g., .htaccess) to block PHP execution and read access inside the theme directory.
  • Enable detailed logging for PHP inclusion failures and monitor logs for suspicious activity related to the theme’s include paths.

Generated by OpenCVE AI on April 30, 2026 at 14:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Tue, 20 Jan 2026 15:30:00 +0000


Tue, 20 Jan 2026 14:45:00 +0000


Fri, 19 Dec 2025 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Thu, 18 Dec 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 18 Dec 2025 07:45:00 +0000

Type Values Removed Values Added
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.
Title WordPress Hanani theme <= 1.2.11 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:13:02.459Z

Reserved: 2025-06-04T09:42:48.971Z

Link: CVE-2025-49366

cve-icon Vulnrichment

Updated: 2025-12-18T18:28:44.039Z

cve-icon NVD

Status : Deferred

Published: 2025-12-18T08:15:50.907

Modified: 2026-04-27T20:16:13.147

Link: CVE-2025-49366

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T14:45:24Z

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')