CVE-2026-103367
8.1 HIGHPublished 2026-10-14 · Updated 2026-10-14
AI risk analysis
- Summary
- The ShopMagic WordPress plugin (up to v4.9.0) contains a Local File Inclusion (LFI) vulnerability in the 'billing_address.first_name' parameter, allowing unauthenticated attackers to include and execute arbitrary PHP files on the server by leveraging a published email recipe that processes customer placeholders.
- Exploitability
- Exploitation is feasible for unauthenticated attackers with no credentials or cookies required, but requires that a recipe using the {{ customer.first_name }} placeholder (e.g., the default 'New Order email with social media profile links' recipe) be active and that an attacker can upload or place a malicious .php file on the server.
- Blast radius
- Successful exploitation could lead to full server compromise including data exfiltration, privilege escalation, or deployment of backdoors via arbitrary PHP code execution.
- Detection
- Look for HTTP requests containing suspicious payloads in the 'billing_address.first_name' parameter during guest checkout submissions, especially paths like '../../../etc/passwd' or 'php://filter' encoded strings; also monitor server logs for unexpected inclusion of non-standard .php files during email generation events. No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to ShopMagic version 4.9.1 or later, which patches this vulnerability.
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD description
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-98
References
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Customer/Guest/GuestFactory.php#L34
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/Builtin/Customer/CustomerFirstName.php#L19
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/Builtin/Order/OrderProductsOrdered.php#L58
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/PlaceholderProcessor.php#L47
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/vendor_prefixed/wpdesk/wp-view/src/Renderer/SimplePhpRenderer.php#L47
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.1
- https://www.wordfence.com/threat-intel/vulnerabilities/id/56c9fe56-8b15-409f-815b-10ee93f5153a?source=cve
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.