Consulting theme CVE-2025-64359
HIGHSeverity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-reachable but needs an authenticated low-priv account (PR:L) and a specific include path (AC:H); LFI yields high confidentiality but limited integrity and no clear availability impact.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in StylemixThemes Consulting consulting allows PHP Local File Inclusion.This issue affects Consulting: from n/a through < 6.7.5.
AnalysisAI
Local File Inclusion in the StylemixThemes 'Consulting' WordPress theme (all versions up to but not including 6.7.5) lets an authenticated attacker control a filename passed to a PHP include/require statement, forcing the server to include and execute local files. Because arbitrary local PHP files can be executed, this can escalate to disclosure of sensitive files (wp-config.php credentials) and potential code execution via log poisoning or session/upload files. Reported by Patchstack; no public exploit identified at time of analysis, and EPSS is low at 0.05% (16th percentile).
Technical ContextAI
The affected component is the 'Consulting' commercial WordPress theme from StylemixThemes, which runs as PHP within a WordPress installation. The root cause is CWE-98 (Improper Control of Filename for Include/Require Statement, 'PHP Remote File Inclusion'), where user-influenced input reaches a PHP include()/require() call without proper allow-listing or path sanitization. In practice this manifests as Local File Inclusion (LFI): an attacker manipulates a parameter (e.g., a template, module, or page identifier) so the theme includes an unintended path on the server. Any included PHP file is executed in the WordPress context, and non-PHP files can be disclosed as source. No specific CPE string was provided in the input beyond the theme identity.
Affected ProductsAI
The affected product is the StylemixThemes 'Consulting' WordPress theme, versions from an unspecified earliest release through any version prior to 6.7.5 (i.e., < 6.7.5). No CPE string was supplied in the input. The vendor/vulnerability record is published via Patchstack at https://patchstack.com/database/Wordpress/Theme/consulting/vulnerability/wordpress-consulting-theme-6-7-5-local-file-inclusion-vulnerability?_s_id=cve. WordPress core itself is not affected - only sites running this specific theme.
RemediationAI
Vendor-released patch: update the Consulting theme to version 6.7.5 or later, which is the first fixed release per the Patchstack advisory (https://patchstack.com/database/Wordpress/Theme/consulting/vulnerability/wordpress-consulting-theme-6-7-5-local-file-inclusion-vulnerability?_s_id=cve). If immediate upgrade is not possible, apply compensating controls: use a WAF or Patchstack's vPatch/virtual patching to block requests containing path-traversal sequences or suspicious file parameters aimed at theme endpoints; restrict access to theme functionality by tightening the roles/capabilities of low-privileged accounts (since PR:L is required); and harden PHP with open_basedir and allow_url_include=Off to limit which files an include can reach - noting that overly tight open_basedir settings can break legitimate plugins/themes and should be tested in staging. Removing or deactivating the theme entirely eliminates exposure but will disable the site's front-end presentation.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
Same weakness CWE-98 – PHP Remote File Inclusion
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today