{"id":"CVE-2026-131687","aliases":[],"title":"ShopMagic <= 4.9.5 - Unauthenticated Improper Verification of Cryptographic Signature to Guest Impersonation and Arbitrary Guest Profile Modification via 'shopmagic_visitor_<COOKIEHASH>' Cookie","originalDescription":"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()`.","severity":{"cvss":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00295,"percentile":0.1459},"exploitDb":null},"affected":[],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d741030b-d906-402c-9017-37b53882d666?source=cve","type":"other"},{"url":"https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Session/CookiePersistence.php#L52","type":"other"},{"url":"https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Interceptor/SessionCustomerProvider.php#L35","type":"other"},{"url":"https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Interceptor/PreSubmitData.php#L150","type":"other"},{"url":"https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Guest/GuestManager.php#L34","type":"other"},{"url":"https://plugins.trac.wordpress.org/changeset/3817710/shopmagic-for-woocommerce/tags/4.9.6","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-27T17:33:04.489Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-131687","license":"NVD terms of use","firstSeenAt":"2026-11-26T10:44:38.342Z"},{"name":"cvelistV5","at":"2026-11-28T21:01:06.087Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-131687","license":"CVE Terms of Use","firstSeenAt":"2026-11-26T10:09:09.911Z"}],"firstSeenAt":"2026-11-26T10:09:09.911Z","publishedAt":"2026-11-26T09:33:24.111Z","modifiedAt":"2026-11-27T17:17:38.407Z"}