---
id: CVE-2026-103367
title: >-
  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
summary: >-
  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 un…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-98
published: '2026-10-14'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T08:17:02.553'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-103367'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Customer/Guest/GuestFactory.php#L34
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/Builtin/Customer/CustomerFirstName.php#L19
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/Builtin/Order/OrderProductsOrdered.php#L58
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/PlaceholderProcessor.php#L47
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/vendor_prefixed/wpdesk/wp-view/src/Renderer/SimplePhpRenderer.php#L47
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.1
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/56c9fe56-8b15-409f-815b-10ee93f5153a?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-10-14T08:23:04.337Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
