CVE-2026-131687
Last modified
CVE-2026-131687 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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()`.. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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()`.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-131687?
How severe is CVE-2026-131687?
How do I fix CVE-2026-131687?
How Strix Helps
- Same Subject, Wrong User: A Cross-Issuer Account Takeover in n8nStrix found an identity-binding bug in n8n's token-exchange flow enabling account takeover.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-131657Tanium addressed an incorrect privilege assignment vulnerabi…6
- CVE-2026-131658Tanium addressed an uncontrolled recursion vulnerability in …2.5
- CVE-2026-13167The Everest Forms – Contact Form, Payment Form, Quiz, Survey…4.3
- CVE-2026-13168The Eventin WordPress plugin before 4.1.20 does not properl…6.5
- CVE-2026-131685Tanium addressed an improper signature validation vulnerabil…6.4
- CVE-2026-131686The WPZOOM Forms – Drag & Drop Contact Form Builder for Word…6.5
- CVE-2026-131688The Secure MCP Server for Claude, ChatGPT, Gemini, Cursor an…8.1
- CVE-2026-13169The Eventin WordPress plugin before 4.1.21 does not properl…8.1
- CVE-2026-131694Tanium addressed an improper check for certificate revocatio…6.6
- CVE-2026-131695The LiteSpeed Cache plugin for WordPress is vulnerable to St…5.4
- CVE-2026-131696Tanium addressed an uncontrolled resource consumption vulner…3.3
- CVE-2026-131697Tanium addressed an improper access controls vulnerability.6.4
Are you affected by CVE-2026-131687?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
