Skip to content
Laskyr

CVE-2026-131687: ShopMagic vulnerability

published 2026-11-26 · updated 2026-11-27

5.3 Medium CVSS 3.1

Fixed in ShopMagic 4.9.6 (first release after the affected range)

ShopMagic 4.9.5 and older is affected by this security issue. Sites on 4.9.6 or newer are not affected; the latest release is 4.9.6.

Affected versions
4.9.5 and older
Fixed in
4.9.6 *
Latest version
4.9.6
Active installs
10,000+
Type
Security issue

* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.

What to do now

  1. Update ShopMagic to 4.9.6 or newer: Dashboard → Updates, or Plugins → “update now”.
  2. If you cannot update right away, deactivate it until you can.
  3. Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
  4. Not sure which version you run? Check your version against every known ShopMagic issue. With WP-CLI: wp plugin get shopmagic-for-woocommerce --field=version.
  5. If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.

Is your site exposed to CVE-2026-131687?

  1. Are you on an affected version? Compare your ShopMagic version with every known issue on record. Check my version
  2. Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
  3. Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works

What an attacker needs

Technical details

CVSS 3.1 breakdown

Attack vector
Network (remote)
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
Low
Availability impact
None

CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

The advisory

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()`.

Description from the CVE record, published by Wordfence (the CVE Numbering Authority), via the NVD entry for CVE-2026-131687.

References

How Laskyr cleans up a site hacked through ShopMagic

We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.

Related

Ran an affected version? Run the free scan for signs of a hack.

Where this data comes from

First hour checklist

If the site was just hacked, read the emergency kit before you delete files. The page is free. Email is optional.

Read the emergency kit

The box is optional and does not affect the kit. Privacy policy.