Description
The Game Users Share Buttons plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the ajaxDeleteTheme() function in all versions up to, and including, 1.3.0. This makes it possible for Subscriber-level attackers to add arbitrary file paths (such as ../../../../wp-config.php) to the themeNameId parameter of the AJAX request, which can lead to remote code execution.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Timeline
| 2025-06-27: | Disclosed |
Credits
Youcef Hamdani
References
www.wordfence.com/...-21e4-4c7f-8701-bd9492b1b8bf?source=cve
wordpress.org/plugins/game-users-share-buttons/
plugins.trac.wordpress.org/...0/game-users-share-buttons.php