CVE-2026-103367

ShopMagic <= 4.9.0 - Unauthenticated Local File Inclusion via 'billing.first_name' Parameter

Published Oct 14, 2026 CVSS 3.1 · 8.1 High EPSS 1.0% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The ShopMagic email automation plugin for WordPress is vulnerable to a path traversal based local file inclusion flaw (CWE-98) in all releases through version 4.9.0. By supplying a specially crafted value for the billing_address.first_name field, an unauthenticated user can cause the plugin to include and execute arbitrary .php files stored on the server. This flaw enables arbitrary execution of PHP code, bypassing normal access controls and potentially exposing sensitive data. The vulnerability is triggered when the plugin processes the {{customer.first_name}} placeholder, which is used by the default New Order email with social media profile links recipe.

Affected Systems

Any WordPress site running ShopMagic up to and including 4.9.0 is affected when the placeholder‑processing recipe is enabled. The default configuration of the plugin, which allows guest checkout and uses the exposed recipe, makes the attack possible on any site that has not upgraded to 4.9.1 or later. The flaw exists regardless of other active plugins or WordPress settings, as long as the vulnerable recipe is active.

Risk and Exploitability

The CVSS base score of 8.1 indicates high severity, while the EPSS score of 1% reflects a low but non‑zero chance of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers can trigger the flaw through an unauthenticated web request that supplies a crafted billing_address.first_name value during a guest checkout, allowing arbitrary PHP file inclusion. No authentication is required; the only prerequisites are that the vulnerable recipe is active and a PHP file is present on the server. The attack vector is purely web‑based.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ShopMagic to version 4.9.1 or later.
  • If an update cannot be applied promptly, disable or remove the recipe that processes the {{customer.first_name}} placeholder, such as the New Order email with social media profile links.
  • Implement input validation for the billing_address.first_name field to accept only safe characters (e.g., alphanumeric and spaces) and to prevent the use of directory traversal sequences.

Generated by OpenCVE AI on October 16, 2026 at 01:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title ShopMagic <= 4.9.0 - Unauthenticated Local File Inclusion via 'billing.first_name' Parameter
Weaknesses CWE-98
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Oct 14, 2026, 3:54 PM
Reserved
Sep 30, 2026, 1:00 PM
Status
Deferred
Published
Oct 14, 2026, 8:17 AM
Modified
Oct 14, 2026, 4:17 PM