Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach store checkout page
-
DeliverySubmit guest order with path payload as billing first_name
-
ExploitOrder triggers default email recipe rendering {{customer.first_name}}
-
ExecutionSimplePhpRenderer includes attacker .php path
-
PersistArbitrary PHP executes as web server
-
ImpactData theft or remote code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a published ShopMagic recipe that processes the {{ customer.first_name }} placeholder; the plugin's built-in 'New Order email with social media profile links' recipe satisfies this out of the box, so default installations are vulnerable. The attacker needs no account, cookie, or nonce - only the ability to submit a WooCommerce guest checkout with a path payload in the billing first-name field. Achieving full remote code execution (versus bypassing access controls or reading sensitive files) additionally requires that an attacker-controllable .php file already exist on the server, which is the main limiting factor; installs that disabled or replaced the first-name-consuming recipe are not exploitable, which is why CVSS assigns AC:H. |
| Impact | This is a genuine high-priority issue, not a CVSS-inflated paper risk. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H, 8.1) describes an unauthenticated, network-reachable PHP Local File Inclusion (CWE-98) with full confidentiality, integrity, and availability impact, and the description confirms the default configuration is exploitable: the bundled 'New Order email with social media profile links' recipe processes the {{ customer.first_name }} placeholder, so a plain guest checkout with no account, cookie, or nonce triggers it. The AC:H rating is the one honest friction point - it reflects the dependency on a published recipe that consumes the first-name placeholder - but Wordfence's own analysis notes that dependency is satisfied out of the box, so for a large share of installs real-world complexity is closer to low. No EPSS score, no CISA KEV listing, and no POC flag were supplied, so there is no evidence of active exploitation or public exploit code yet; the exploitation signals are therefore all derived from the vulnerability's intrinsic properties (unauthenticated, default-exploitable, RCE-capable) rather than observed attacks. The combination of unauthenticated reach and code-execution potential on an internet-facing WooCommerce store makes this a priority to patch despite the absence of KEV/EPSS/POC data. |
| Exploit ScenarioDerived | An unauthenticated attacker visits the WooCommerce store, begins a guest checkout, and submits a crafted path as the billing first name; when the order triggers the default ShopMagic email recipe that renders the {{ customer.first_name }} placeholder, the value is passed to the SimplePhpRenderer and an attacker-chosen .php file on the server is included and executed. Combined with any mechanism to place a .php file on disk (e.g. an upload feature), this yields arbitrary PHP code execution as the web server; no public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Unauthenticated local file inclusion in ShopMagic for WooCommerce (all versions up to and including 4.9.0) allows remote attackers to include and execute arbitrary .php files on a WordPress server by submitting a path payload as the billing first name during WooCommerce guest checkout. The value reaches the plugin's PHP template renderer through the {{ customer.first_name }} placeholder, and the built-in "New Order email with social media profile links" recipe processes that placeholder out of the box, so default configurations are exploitable with no account, cookie, or nonce. CVSS is 8.1 (C:H/I:H/A:H, AC:H); full code execution additionally requires that an attacker-controllable .php file already exist on the server, and no public exploit code was identified at time of analysis. The vendor-released fix is 4.9.1.
RemediationAI
Vendor-released patch: 4.9.1 - upgrade ShopMagic for WooCommerce to 4.9.1 or later immediately, since 4.9.0 and every earlier version are affected. If the update cannot be applied right away, the most effective compensating control is to unpublish or delete any ShopMagic automation that renders the {{ customer.first_name }} placeholder, especially the built-in "New Order email with social media profile links" recipe; this removes the include sink entirely, at the cost of losing that customer-name-personalized email workflow. Disabling guest checkout (requiring a registered account for orders) removes the unauthenticated entry point, but changes store conversion behavior and is not a fix for authenticated low-privilege abuse of the same field. Restricting ShopMagic automation authoring to fully trusted administrators limits who can publish an exploitable recipe, and a WAF rule rejecting path-traversal sequences (for example "../" and encoded variants) in checkout and billing-name form fields provides defense in depth without modifying the plugin, though WAF coverage is bypass-prone and should not replace patching. Keep WordPress, WooCommerce, and the WPDESK wp-view library current as well, since the vulnerable renderer is vendored into the plugin. Advisory: https://www.wordfence.com/threat-intel/vulnerabilities/id/56c9fe56-8b15-409f-815b-10ee93f5153a?source=cve; upstream release tag: https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.1.
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
The issue is a CWE-98 case (improper control of filename for include/require statement in PHP) inside the WPDESK ShopMagic plugin. User-supplied checkout data is stored as the WooCommerce order billing address and then read back through GuestFactory and the CustomerFirstName placeholder; the rendered value flows into PlaceholderProcessor and ultimately into SimplePhpRenderer::render (wpdesk/wp-view), which performs a PHP include on a path derived from the placeholder content rather than a fixed template path. Because the include target is attacker-influenced and not whitelisted, traversal sequences can point the include at a file elsewhere on the filesystem. The CPE cpe:2.3:a:wpdesk:shopmagic_-_email_automation_for_wordpress:*:*:*:*:*:*:*:* identifies the WPDESK-maintained WordPress/WooCommerce plugin across all versions through 4.9.0, and the referenced Trac source links (SimplePhpRenderer.php L47, PlaceholderProcessor.php L47, CustomerFirstName.php L19, GuestFactory.php L34, OrderProductsOrdered.php L58) document exactly where the tainted value is read, dispatched, and consumed. The unauthenticated nature comes from the guest-checkout entry point, which is public by design on WooCommerce stores that accept guest orders.
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:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated network LFI (PR:N, AV:N) but AC:H because it depends on a published recipe consuming the first-name placeholder; full inclusion/RCE yields C:H/I:H/A:H.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The ShopMagic - email automation for WordPress plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.9.0 via the 'billing_address.first_name' parameter parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. Exploitation requires a published recipe that processes the {{ customer.first_name }} placeholder - the plugin's built-in "New Order email with social media profile links" recipe satisfies this requirement out of the box, making the default configuration exploitable with no account, cookie, or nonce by simply submitting a guest checkout with the payload as the billing first name.
Executive ViewAI
ShopMagic for WooCommerce, a marketing-automation plugin used by WordPress storefronts, contains a high-severity file-inclusion flaw (CVE-2026-103367) that an outside party can trigger through an ordinary guest checkout by submitting a crafted value in the billing first-name field, with default configurations affected because the plugin's built-in order-email recipe processes that field. Any store running an unpatched version up to 4.9.0 is exposed, and successful abuse can result in attacker-controlled code running on the web server that hosts customer order and payment data. Leadership should treat this as a priority remediation item for e-commerce environments given the customer-facing checkout path involved and the associated PCI and privacy obligations.
Apply vendor patch (4.9.1); if upgrade cannot occur immediately, disable the 'New Order email with social media profile links' recipe or deactivate the plugin, block path-like input in the guest-checkout billing first-name field, and prevent new .php files from being written into web-accessible directories.
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
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-100903
GHSA-fqgv-5m94-gg38
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB