Home

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.

PUBLISHED Reserved 2025-12-05 | Published 2025-12-12 | Updated 2025-12-15 | Assigner Wordfence




MEDIUM: 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Problem types

CWE-94 Improper Control of Generation of Code ('Code Injection')

Product status

Default status
unaffected

* (semver)
affected

Timeline

2025-12-11:Disclosed

Credits

Athiwat Tiprasaharn finder

Itthidej Aramsri finder

Powpy finder

Waris Damkham finder

Varakorn Chanthasri finder

Peerapat Samatathanyakorn finder

Sopon Tangpathum (SoNaJaa) finder

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/

cve.org (CVE-2025-14166)

nvd.nist.gov (CVE-2025-14166)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.