# CVE-2026-131687: ShopMagic \<= 4.9.5 - Unauthenticated Improper Verification of Cryptographic Signature to Guest Impersonation and Arbitrary Guest Profile Modification via 'shopmagic\_visitor\_\<COOKIEHASH\>' Cookie

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.29% (percentile 15, 2026-11-28)
- **CWE:** CWE-347
- **Published:** 2026-11-26T09:33:24.111Z
- **Modified:** 2026-11-27T17:17:38.407Z

> **AI summary (AI-generated, claude-haiku-5-5):** An unauthenticated attacker can forge the ShopMagic visitor cookie to impersonate WordPress users, including administrators, and overwrite stored guest profile data in the ShopMagic WordPress plugin.

## Who should check

- Anyone running wpdesk ShopMagic – email automation for WordPress \<= 4.9.5

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

## Affected and fixed versions

- wpdesk ShopMagic – email automation for WordPress: \<= 4.9.5 (cvelist)

## Technologies

WordPress (AI-matched), WordPress plugins and themes

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-131687. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-131687.md
Affected: wpdesk ShopMagic – email automation for WordPress <= 4.9.5
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for wpdesk ShopMagic – email automation for WordPress: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-131687 being exploited?

There is no confirmed exploitation: CVE-2026-131687 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-131687?

Medium: CVSS 5.3 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-131687?

wpdesk ShopMagic – email automation for WordPress \<= 4.9.5.

### Is there a fix for CVE-2026-131687?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-131687?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/d741030b-d906-402c-9017-37b53882d666?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Session/CookiePersistence.php#L52>
- other: <https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Interceptor/SessionCustomerProvider.php#L35>
- other: <https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Interceptor/PreSubmitData.php#L150>
- other: <https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Guest/GuestManager.php#L34>
- other: <https://plugins.trac.wordpress.org/changeset/3817710/shopmagic-for-woocommerce/tags/4.9.6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-131687>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-131687> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-131687>
