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.
Problem types
CWE-94 Improper Control of Generation of Code ('Code Injection')
Product status
* (semver)
Timeline
| 2025-12-11: | Disclosed |
Credits
Athiwat Tiprasaharn
Itthidej Aramsri
Powpy
Waris Damkham
Varakorn Chanthasri
Peerapat Samatathanyakorn
Sopon Tangpathum (SoNaJaa)
References
www.wordfence.com/...-514a-44f7-9878-4aa43598842a?source=cve
plugins.trac.wordpress.org/...s/core/class-code-snippets.php
plugins.trac.wordpress.org/...s/core/class-code-snippets.php
plugins.trac.wordpress.org/...s/core/class-code-snippets.php
plugins.trac.wordpress.org/...s/core/class-code-snippets.php
plugins.trac.wordpress.org/log/wpmastertoolkit/
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.