---
id: CVE-2025-14166
title: >-
  The WPMasterToolKit plugin for WordPress is vulnerable to PHP Code Injection
  in all versions up to, and including, 2.13.0
summary: >-
  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 Sn…
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'
cwe:
  - CWE-94
published: '2025-12-12'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-14166'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/admin/modules/core/class-code-snippets.php#L135
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpmastertoolkit/tags/2.13.0/admin/modules/core/class-code-snippets.php#L628
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/modules/core/class-code-snippets.php#L135
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpmastertoolkit/trunk/admin/modules/core/class-code-snippets.php#L628
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/log/wpmastertoolkit/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/6049996a-514a-44f7-9878-4aa43598842a?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00465
epssPercentile: 0.38191
ingestedAt: '2026-10-07T20:46:46.887Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
