WPMasterToolKit CVE-2025-14166
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor/Author account
-
DeliveryAccess Code Snippets feature
-
ExploitInject arbitrary PHP snippet
-
ExecutionPlugin executes code on server
-
ImpactEscalate to admin / full site compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated WordPress account at Contributor level or above (Author-level is explicitly named) because the plugin's Code Snippets feature omits proper capability checks before creating and executing PHP. The specific prerequisite is access to the WPMasterToolKit Code Snippets feature on a site running version ≤ 2.13.0. Limiting factors: exploitation is NOT fully unauthenticated despite the provided vector's PR:N - a valid Contributor/Author session is mandatory, so sites that disable open registration or restrict author-level roles substantially reduce exposure; no user interaction from a victim and no special non-default configuration beyond having the plugin active are needed. |
| Impact | Signals conflict sharply and must be reconciled before prioritization. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N, score 5.3) is internally inconsistent with the description: it claims PR:N (unauthenticated) and only I:L with C:N/A:N, yet the description states exploitation requires 'authenticated attackers, with Contributor-level access and above' and results in 'remote code execution, privilege escalation, and complete site compromise' - which is a full C/I/A high impact, not a single low-integrity impact. This discrepancy suggests the published 5.3 score materially understates true impact; an independent assessment lands near CVSS 8.8 (High). EPSS is low at 0.46% (38th percentile), there is no CISA KEV listing, and no public exploit was identified at time of analysis, so there is no evidence of active or imminent mass exploitation today. Net: this is a genuinely serious authenticated RCE (any Contributor/Author account converts to full server code execution) whose official 5.3 score is misleadingly low, but real-world urgency is tempered by the authentication prerequisite, modest EPSS, and absence of KEV/POC. Prioritize patching on sites that allow untrusted Contributor/Author registrations; treat as lower urgency where author-level accounts are tightly controlled. |
| Exploit ScenarioDerived | An attacker who holds (or registers/obtains) a Contributor- or Author-level WordPress account logs in and navigates to the WPMasterToolKit Code Snippets feature, which fails to enforce proper capability checks. They create a snippet containing arbitrary PHP, which the plugin then executes on the server, yielding remote code execution, privilege escalation to administrator, and full site compromise. No public exploit was identified at time of analysis, and because PR is effectively low (not none), the attacker must first possess a low-privilege authenticated account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Authenticated PHP code execution in the WPMasterToolKit plugin for WordPress (all versions up to and including 2.13.0) lets any logged-in user with Author-level - and per the advisory, Contributor-level and above - access create and run arbitrary PHP through the plugin's Code Snippets feature, resulting in remote code execution, privilege escalation and full site compromise. Exploitation requires a valid low-privileged WordPress account plus the plugin's Code Snippets module being reachable, so sites that disable open registration or tightly control Author/Contributor roles sharply reduce exposure; no victim interaction and no exotic configuration are needed. At time of analysis there is no confirmed active exploitation (not in CISA KEV) and no public exploit identified, and EPSS is low at 0.46% (38th percentile). Note that the supplied NVD CVSS vector (PR:N, C:N/I:L/A:N) conflicts materially with our independent assessment (PR:L, C:H/I:H/A:H) and the assessed impact should govern prioritization.
RemediationAI
No exact fixed release version is confirmed in the available data: the references point to trunk source and the plugin changelog (https://plugins.trac.wordpress.org/log/wpmastertoolkit/) rather than to a tagged patched release, so treat this as "upstream fix indicated in trunk / released patched version not independently confirmed" and verify the current version on the WordPress.org plugin page or the changelog before upgrading - do not assume 2.13.1 exists. The primary action is to update WPMasterToolKit above 2.13.0 as soon as a patched release is verified, since the vulnerable file (admin/modules/core/class-code-snippets.php) is referenced in trunk. Until then, apply compensating controls matched to this specific flaw: deactivate the WPMasterToolKit Code Snippets module (or the plugin entirely) if the feature is not business-critical - this fully removes the execution primitive but loses snippet functionality; disable open user registration and audit existing Contributor/Author accounts, removing those roles from untrusted users, which eliminates the mandatory authentication prerequisite (side effect: editorial workflows that rely on authors are disrupted); and add a role-capability filter (e.g. via a small must-use plugin using map_meta_cap/user_has_cap) that strips the plugin's snippet-management capabilities from any role below Administrator, accepting the maintenance overhead of a custom filter. Defensively, run a file-integrity scan and review wp-content for unexpected PHP added via snippets, and consult the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/6049996a-514a-44f7-9878-4aa43598842a?source=cve) for updated patch guidance.
Affected ProductsAI
WPMasterToolKit plugin for WordPress, all versions up to and including 2.13.0, are affected; the plugin ships as a standard WordPress plugin and the vulnerable code path is admin/modules/core/class-code-snippets.php within the Code Snippets module. Any WordPress installation with the plugin installed and active and with at least one account holding Author or Contributor capabilities is in scope, since those roles can reach the snippet creation/execution functionality. The advisory source is Wordfence Threat Intelligence (https://www.wordfence.com/threat-intel/vulnerabilities/id/6049996a-514a-44f7-9878-4aa43598842a?source=cve), and the associated code references are the 2.13.0 tagged file (https://plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/admin/modules/core/class-code-snippets.php#L135 and #L628), the equivalent trunk file (https://plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/modules/core/class-code-snippets.php#L135 and #L628), and the plugin commit/changelog history at https://plugins.trac.wordpress.org/log/wpmastertoolkit/. No CPE strings were supplied with the intelligence feed, but the version ceiling of 2.13.0 is explicit.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected component is the WordPress plugin WPMasterToolKit, a site-management utility whose 'Code Snippets' module is implemented in admin/modules/core/class-code-snippets.php (relevant logic at lines 135 and 628 in the 2.13.0 tag and trunk). Code Snippets features are inherently dangerous because they take user-supplied text and feed it to the PHP interpreter (via eval-style execution or a written-and-included PHP file), so the only thing standing between a low-privileged user and server-side code execution is the capability check gating access to that feature. CWE-94 (Improper Control of Generation of Code / Code Injection) describes the root cause here: the plugin fails to enforce WordPress's capability model (for example requiring manage_options or unfiltered_html-equivalent privileges) before allowing creation and execution of snippets, letting Author/Contributor roles reach an execution primitive reserved for administrators. The included references point to the same source lines in both the tagged 2.13.0 release and trunk plus the plugin changelog, which is the classic pattern for a capability-check fix being introduced upstream. Impact depends entirely on privilege context: a site that allows self-registration with Author rights converts this into a low-friction path to full administrative takeover, whereas sites with registration closed and Author roles restricted to trusted staff reduce it to an insider/privilege-escalation risk.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Contributor/Author authentication is required so PR:L (not PR:N); arbitrary PHP execution yields full server compromise, so C:H/I:H/A:H over the network with low complexity.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The WPMasterToolKit plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 2.13.0. This is due to the plugin allowing Author-level users to create and execute arbitrary PHP code through the Code Snippets feature without proper capability checks. This makes it possible for authenticated attackers, with Contributor-level access and above, to execute arbitrary PHP code on the server, leading to remote code execution, privilege escalation, and complete site compromise.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB