Description
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.
References6
- plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/…
- plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/…
- plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/…
- plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/…
- plugins.trac.wordpress.org/log/wpmastertoolkit/
- www.wordfence.com/threat-intel/vulnerabilities/id/6049996a-514a…
Metrics
- CVSS 3.1
-
5.3
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N - EPSS — exploit probability
- 0% percentile: 41 · as of 11 November 2026
- CWE
- CWE-94
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.