CVE-2025-14166 WPMasterToolKit (WPMTK) <= 2.13.0 - Authenticated (Contributor+) Code Injection
Authenticated attackers with Contributor access can execute arbitrary PHP code via the Code Snippets feature, leading to remote code execution and site compromise.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-14166?
CVE-2025-14166 is a medium-severity code injection vulnerability in ludwigyou WPMasterToolKit (WPMTK) – All in one plugin, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2025-14166?
How do I fix CVE-2025-14166?
No fix has been published for CVE-2025-14166 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-14166 being exploited?
There is no known exploitation of CVE-2025-14166 in the wild and no public exploit code.
Sources
Also known as GHSA-7q5g-8744-p89w.