Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Admin-only upload sets PR:H with AV:N/AC:L/UI:N; webshell RCE yields C/I/A:H, but the compromise stays within the same WordPress host so S:U rather than S:C.
Primary rating from Vendor (patchstack).
CVSS VectorVendor: patchstack
Lifecycle Timeline
1DescriptionCVE.org
Administrator Arbitrary File Upload in TemplateSpare <= 4.2.0 versions.
AnalysisAI
Arbitrary file upload in the TemplateSpare WordPress plugin (versions 4.2.0 and earlier) allows an authenticated administrator-level user to upload files of dangerous types, enabling deployment of a PHP web shell and full server compromise. The flaw was reported by Patchstack and carries a CVSS of 9.1, but exploitation requires existing high-privilege (Administrator) access. There is no public exploit identified at time of analysis and the issue is not listed in CISA KEV.
Technical ContextAI
TemplateSpare is a WordPress starter-template/import plugin used to bootstrap site designs. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): an upload handler that does not adequately validate file extension, MIME type, or content, permitting executable PHP to land in a web-accessible path. Because WordPress executes PHP within the document root, a successfully uploaded script runs in the web server context, turning a file write into remote code execution. No CPE strings were supplied in the input; affected scope is derived from the Patchstack advisory naming the plugin slug 'templatespare' at versions <= 4.2.0.
RemediationAI
No vendor-released patch version was identified in the provided data; consult the Patchstack advisory (https://patchstack.com/database/wordpress/plugin/templatespare/vulnerability/wordpress-templatespare-plugin-4-2-0-arbitrary-file-upload-vulnerability?_s_id=cve) and the WordPress.org plugin page for an updated release above 4.2.0 and upgrade as soon as one is available. As compensating controls until a fix is confirmed: restrict the number of Administrator accounts and enforce strong MFA on them since exploitation needs admin privileges; if TemplateSpare is not actively in use, deactivate and remove the plugin (trade-off: loses template-import functionality); harden the upload/storage directory by disabling PHP execution in wp-content upload paths via web-server config or .htaccess 'php_admin_flag engine off' (trade-off: may break other plugins that legitimately execute in those paths); and deploy a WAF/virtual patch (e.g., Patchstack) to block dangerous-type uploads. Note these mitigations reduce but do not eliminate risk from a fully trusted, malicious administrator.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-39663
GHSA-98gc-mw7m-prrh