ShopMagic <= 4.9.5 - Unauthenticated Improper Verification of Cryptographic Signature to Guest Impersonation and Arbitrary Guest Profile Modification via 'shopmagic_visitor_<COOKIEHASH>' Cookie
Summary
| CVE | CVE-2026-131687 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-26 10:17:07 UTC |
| Updated | 2026-11-27 17:17:38 UTC |
| Description | 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()`. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS: 0.002950000 probability, percentile 0.145910000 (date 2026-11-29)
Problem Types: CWE-347 | CWE-347 CWE-347 Improper Verification of Cryptographic Signature
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 3.1 | CNA | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Wpdesk | ShopMagic Email Automation For WordPress | affected 4.9.5 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Int... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/d741030b-d906-402c-9017-37b53... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/changeset/3817710/shopmagic-for-woocommerce/tags/4.9.6 | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Gue... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Ses... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Int... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Wordfence PRISM (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-17T22:17:30.000Z | Vendor Notified |
| CNA | 2026-11-25T21:04:47.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.