Unsigned visitor cookie in ShopMagic lets attackers impersonate users
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-347.
Summary
ShopMagic (email automation for WordPress), up to and including 4.9.5, does not verify the hash on its visitor tracking cookie (CWE-347). The cookie name is predictable, so unauthenticated attackers can forge it and submit it to an endpoint with no nonce or capability check. The forged cookie lets them impersonate any WordPress user, including administrators, and overwrite stored guest profile data such as name, phone number and billing address.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
The ShopMagic – email automation for WordPress plugin for WordPress is vulnerable to Improper Verification of Cryptographic Signature in all versions up to, and including, 4.9.5 Although `CurrentCustomer::encode_tracking_data()` appends an md5 hash to the `shopmagic_visitor_<COOKIEHASH>` cookie to make it tamper-resistant, `CookiePersistence::get_tracking_data()` returns the raw `json_decode()`'d cookie value directly without computing or verifying that hash, leaving the cookie's `user_id`, `email`, and `meta` fields fully under attacker control. This makes it possible for unauthenticated attackers to forge the visitor cookie — which is predictable because its name is derived as `md5(siteurl)` from the public site URL — and submit it to the unprotected `wp_ajax_nopriv_capture_email_url` endpoint (which is registered without a nonce check or capability check) to impersonate any WordPress user including administrators in ShopMagic's customer-identity context, and to overwrite the stored profile metadata — including name, phone number, and billing address — of any existing guest record in `wp_shopmagic_guest` and `wp_shopmagic_guest_meta` via `GuestManager::save()`.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
The sources list no fixed version for ShopMagic (email automation for WordPress).
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-131687
- 2026-11-27 Alias added: GHSA-m6r4-577v-pvfc
- 2026-11-27 CISA SSVC decision points changed
References
Other 6
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d741030b-d906-402c-9017-37b53882d666?source=cve
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Session/CookiePersistence.php#L52
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Interceptor/SessionCustomerProvider.php#L35
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Interceptor/PreSubmitData.php#L150
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Guest/GuestManager.php#L34
- https://plugins.trac.wordpress.org/changeset/3817710/shopmagic-for-woocommerce/tags/4.9.6
More wpdesk vulnerabilities
- TI-2026-51484 WordPress Flexible Subscriptions plugin <= 1.8.1 - PHP Object Injection vulnerability CVSS 3.1CRITICAL 9.8
- TI-2020-18902 Flexible Checkout Fields for WooCommerce <= 2.3.1 - Unauthenticated Arbitrary Plugin Settings Update CVSS 3.1HIGH 7.2
- TI-2026-83314 Sensitive data exposure in WordPress Flexible Chat plugin CVSS 3.1HIGH 7.5
- TI-2026-73809 Local file inclusion in ShopMagic plugin lets attackers run PHP files CVSS 3.1HIGH 8.1
- TI-2024-20643 WordPress Flexible Checkout Fields for WooCommerce plugin <= 4.1.2 - Broken Access Control vulnerability CVSS 3.1HIGH 8.8
- TI-2024-12735 Flexible Wishlist for WooCommerce <= 1.2.25 - Unauthenticated Stored Cross-Site Scripting via wishlist_name Parameter CVSS 3.1HIGH 7.2
Sources
- CVE-2026-131687 · CVE Program
- CVE-2026-131687 · NVD
- FIRST EPSS
- GHSA-m6r4-577v-pvfc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences