Keyrook

WPMasterToolKit code injection flaw lets contributor accounts run code on your server — update to 2.26.2

WPMasterToolKit versions up to 2.26.1 let a logged-in contributor inject and run code on a WordPress site. The flaw, CVE-2026-134963, scores 9.9 out of 10. Version 2.26.2, released 26 November 2026, closes it — update now.

The WPMasterToolKit module list in the WordPress dashboard, showing its administration, users, debug and security tools
Image: WordPress.org

Affects

  • WPMasterToolKit
  • WordPress

Tracked as

  • CVE-2026-134963WPMasterToolKit, WordPress plugin · CVSS 9.9

A flaw in WPMasterToolKit, an all-in-one WordPress plugin, lets a logged-in user with a low-privilege account inject code and run it on the site’s server. The flaw, tracked as CVE-2026-134963, carries a severity score of 9.9 out of 10. Every version up to and including 2.26.1 is affected. Version 2.26.2, released on 26 November 2026, closes the hole, and a newer release, 2.26.3, is already available. If the plugin runs on your site, update it now.

The WPMasterToolKit module list in the WordPress dashboard, showing its administration, users, debug and security tools
Image: WordPress.org

What happened

Patchstack published details of the flaw on 25 November 2026, and the National Vulnerability Database added its record, CVE-2026-134963, on 27 November. Security researcher Pham Cong Lap of HPT VN reported the problem to the plugin’s developer, Webdeclic, on 19 November.

The flaw sits in the plugin’s Code Snippets module, which lets site owners add custom PHP code from the dashboard. The module did not check submitted code properly, so a user with a contributor account — one of the lowest roles that can log in and write draft posts — could send code that the plugin then ran on the server. That is the classic shape of a code injection flaw, listed as CWE-94.

The severity score of 9.9 reflects how easy the flaw is to reach: it works over the network, needs no special setup, needs only a low-privilege login, and needs no action from anyone else. Once the code runs, the attacker controls the site as fully as the server account allows — the effect spreads from the plugin to the whole server.

Version 2.26.2, released on 26 November, fixes the module: it now checks PHP syntax without running the code, secures how snippets are saved and stored, and only lets shortcodes run in content an administrator has approved. Shortcode snippets are now deprecated, and existing ones need an administrator to review and save them again.

What this means for you

If your site runs WPMasterToolKit 2.26.1 or older, anyone who holds — or can obtain — a contributor account can take it over. Contributor accounts are common: guest writers, freelance authors, shop staff, and anyone given a login to draft content. An attacker who gets in through one can plant a backdoor, change pages, redirect visitors, steal customer data, or use the server to send spam.

WPMasterToolKit is an all-in-one toolkit with more than 100 modules for administration, security, performance, media and development, so it sits on a wide range of sites — including sites whose owners installed it for one small feature and forgot it was there. Check whether it is installed before deciding the flaw does not apply to you.

What to do

  1. Open the WordPress dashboard, go to Plugins, and look for WPMasterToolKit. If the version is 2.26.1 or older, update it to 2.26.2 or later — 2.26.3 is the current release. You can get it from the plugin page on WordPress.org.
  2. After updating, review the accounts on your site. In Users, look for contributor accounts you do not recognise or no longer need, and remove the ones that should not be there.
  3. Review any shortcode snippets the plugin created. Version 2.26.2 asks an administrator to review and save them again before they run — do that review, and delete any snippet you cannot explain.
  4. Look for signs that the site was already touched: unfamiliar administrator accounts, new plugins or files, changed pages, or visitors landing somewhere unexpected. If anything looks wrong, restore the site from a clean backup and ask your hosting provider to check the server.

Sources

  1. Arbitrary Code Execution in WordPress WPMasterToolKit PluginPatchstack
  2. CVE-2026-134963 DetailNIST National Vulnerability Database
  3. WPMasterToolKit (WPMTK) – All in one pluginWordPress.org

More news

All the news
  1. Patch Notes2 min

    Database for Contact Form 7 flaw lets visitors plant scripts for admins — update to 1.5.7

    A stored cross-site scripting flaw in Database for Contact Form 7, disclosed 28 November, lets unauthenticated visitors plant scripts that run when an administrator views entries — update to 1.5.7.

    • WordPress
  2. Patch Notes3 min

    Tenda AC10U router carries three flaws scored 10.0 — no fix, so replace it

    Three flaws in the Tenda AC10U router, disclosed 27 November, all score the maximum 10.0 and let attackers run commands or open Telnet without logging in — and Tenda has released no fix, so owners should replace the router.

    • Tenda
  3. Patch Notes3 min

    Upsell Funnel Builder flaw lets anyone inject scripts into WooCommerce checkout pages — update to 3.1.8

    Wordfence disclosed on 27 November an unauthenticated stored cross-site scripting flaw (CVE-2026-136995, scored 7.2) in Upsell Funnel Builder for WooCommerce. Update to 3.1.8.

    • WooCommerce