Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain WordPress Administrator credentials
-
DeliveryAccess TemplateSpare upload feature
-
ExploitUpload PHP file bypassing type checks
-
ExecutionRequest uploaded webshell URL
-
PersistExecute arbitrary code on server
-
ImpactFull site/host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated WordPress account with Administrator privileges (CVSS PR:H), and the TemplateSpare plugin (<= 4.2.0) must be installed and active. The attack is network-reachable (AV:N) with low complexity (AC:L) and needs no user interaction (UI:N) once admin access is held. The dominant limiting factor is the Administrator privilege requirement: this is not exploitable by anonymous visitors, subscribers, or typical lower-privilege roles, which substantially narrows the realistic attacker population to compromised/rogue admins or multi-admin and WordPress multisite deployments where code execution should be constrained. |
| Impact | Signals conflict in a way defenders should weigh carefully. The CVSS base score of 9.1 is inflated by the S:C (scope change) and full C/I/A:H impact, yet the same vector specifies PR:H - exploitation requires an account that already holds Administrator privileges. A WordPress administrator can typically already install plugins/themes and execute code, so the marginal risk this vulnerability adds over an honest admin's existing capability is low; the realistic threat is privilege/role abuse, a compromised admin account, or a multi-admin/multisite environment where a lesser-trusted admin should not have code execution. No EPSS score, KEV entry, POC, or SSVC data was provided, so there is no evidence of automatable or in-the-wild exploitation. Net: high nominal CVSS but materially lower real-world priority than the number suggests, unless your trust model distinguishes administrators from code-execution rights. Note the scope choice (S:C) is debatable for a same-system webshell upload. |
| Exploit ScenarioDerived | An attacker who has obtained WordPress Administrator access - via credential theft, phishing, or an over-provisioned internal account - uses the TemplateSpare upload functionality to upload a PHP web shell instead of a legitimate template asset. They then browse to the uploaded file to execute commands, establishing persistent remote control of the site and underlying host. No public POC was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 26, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Administrator Arbitrary File Upload in TemplateSpare <= 4.2.0 versions.
Executive ViewAI
TemplateSpare WordPress plugin versions 4.2.0 and earlier suffer from a critical file upload vulnerability that enables Administrator users to deploy executable code, potentially compromising entire server infrastructure. Organizations using this plugin face elevated insider threat and account-compromise risks with no available vendor patch. Leadership must prioritize rapid inventory, access restrictions, and remediation to prevent data loss and service disruption.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Reduce Administrator account assignments to essential personnel only; (2) Disable the plugin if not operationally required; (3) Configure web server (.htaccess or WAF) to block PHP and executable file uploads in /uploads directory; (4) Implement comprehensive logging and alerting for all Administrator actions; (5) Deploy WordPress file integrity monitoring plugin; (6) Schedule quarterly security audits of Administrator privilege assignments.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
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 AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
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
EUVD-2026-39663
GHSA-98gc-mw7m-prrh
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB