CVE-2025-14166
MEDIUM
5.3
CVSS 3.1
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.
Affected WordPress components
-
WPMasterToolKit (WPMTK) – All in one plugin Plugin · wpmastertoolkitUp to and including 2.13.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- ludwigyou WPMasterToolKit (WPMTK) – All in one plugin — Up to and including 2.13.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/admin/modules/core/class-code-snippets.php#L135
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/admin/modules/core/class-code-snippets.php#L628
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/modules/core/class-code-snippets.php#L135
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/modules/core/class-code-snippets.php#L628
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/log/wpmastertoolkit/
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/6049996a-514a-44f7-9878-4aa43598842a?source=cve
- nvd.nist.gov Official NVD record