High · 8.1 WordPress 56c9fe56-8b15-409f-815b-10ee93f5153a CVE-2026-103367
Unauthenticated Local File Inclusion in ShopMagic WordPress Plugin (CVE-2026-103367)
ShopMagic for WordPress, versions up to and including 4.9.0, contains an unauthenticated Local File Inclusion vulnerability via the billing first name field, allowing attackers to include and execute arbitrary PHP files. A fix is available in version 4.9.1.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A Local File Inclusion vulnerability has been disclosed in ShopMagic – email automation for WordPress, a plugin used to automate order-related emails. The flaw affects all versions up to and including 4.9.0 and can be exploited by unauthenticated attackers, meaning no account, login session, or security token is required. Because the plugin ships with a default email recipe that uses the vulnerable field, the issue is exploitable out of the box on affected installations.
What happened
Security researcher crow reported a Local File Inclusion (LFI) vulnerability in the ShopMagic – email automation for WordPress plugin, tracked as CVE-2026-103367. The vulnerability exists in all versions of the plugin up to and including 4.9.0. It allows unauthenticated attackers to include and execute arbitrary .php files on the server via the 'billing_address.first_name' parameter.
Technical cause
The vulnerability is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program). It is triggered through the {{ customer.first_name }} placeholder, which is processed by email recipes within the plugin. ShopMagic ships with a built-in recipe called 'New Order email with social media profile links' that processes this placeholder by default. An attacker can submit a guest checkout and place a malicious payload in the billing first name field (the 'billing_address.first_name' parameter), causing the server to include and execute an arbitrary .php file when the default recipe processes the order.
Why it matters
This vulnerability can be exploited without any authentication, user interaction, cookie, or nonce. Because the vulnerable code path is triggered by a default, out-of-the-box email recipe, sites running an unpatched version of ShopMagic with standard configuration are exploitable simply by submitting a crafted guest checkout. Successful exploitation can lead to execution of arbitrary PHP code on the server, which may be used to bypass access controls, obtain sensitive data, or achieve full code execution, particularly in environments where .php files can also be uploaded.
Who is affected
Any WordPress site running the ShopMagic – email automation for WordPress plugin in a version up to and including 4.9.0 is affected, particularly those using the default 'New Order email with social media profile links' recipe or any other recipe that processes the {{ customer.first_name }} placeholder.
Affected versions
All versions of ShopMagic – email automation for WordPress from version 0 up to and including 4.9.0 are affected.
Fixes and mitigation
A fix is available in ShopMagic version 4.9.1. Site owners should update to this version or later as soon as possible.
Recommended action
Update ShopMagic – email automation for WordPress to version 4.9.1 or later immediately. Given that this vulnerability is unauthenticated and exploitable via a default configuration, treat this as a high-priority update. Administrators who cannot update immediately should consider disabling or restricting guest checkout, or review and disable any email recipes that process the {{ customer.first_name }} placeholder, until the update can be applied.
PatchBriefing score
8.1 / 10 · High
Official CVSS: 8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS 0.0108 (65 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- ShopMagic – email automation for WordPress *-4.9.0
- vulnerable
- ≥ 4.9.1
- patched
Reported fixes
A fix is available in ShopMagic version 4.9.1. Site owners should update to this version or later as soon as possible.
How this was built
2 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
Wordfence Intelligence scanner
Revision history
- Published
- Generated