CVE-2026-131687
Deferred Deferred - Pending Action

Improper Signature Verification in ShopMagic WordPress Plugin

Vulnerability report for CVE-2026-131687, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-26

Last updated on: 2026-11-26

Assigner: Wordfence

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

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-26
Last Modified
2026-11-26
Generated
2026-11-26
AI Q&A
2026-11-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wpdesk ShopMagic – email automation for WordPress From 0 (inc) to 4.9.5 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-347 The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the ShopMagic WordPress plugin allows attackers to forge cookies that control user identity. The plugin appends an MD5 hash to cookies for verification, but the code reading these cookies does not check the hash. Attackers can predict cookie names and submit fake cookies to impersonate users, including administrators, and modify user data in the system.

Detection Guidance

Check for unauthorized modifications to WordPress user profiles or guest metadata in the wp_shopmagic_guest and wp_shopmagic_guest_meta tables. Inspect cookies named shopmagic_visitor_<COOKIEHASH> for tampering by comparing the md5 hash of the site URL with the cookie value. Monitor unprotected wp_ajax_nopriv_capture_email_url endpoint access attempts.

Impact Analysis

Unauthenticated attackers could impersonate any WordPress user, including administrators, and alter stored customer data like names, emails, phone numbers, and billing addresses. This could lead to unauthorized access, data manipulation, or fraudulent activities within the ShopMagic plugin.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's data integrity and confidentiality requirements. For HIPAA, it risks exposing protected health information if customer data is altered or accessed improperly. Compliance may be compromised due to lack of proper access controls.

Mitigation Strategies

Update the ShopMagic plugin to the latest version beyond 4.9.5. Disable the wp_ajax_nopriv_capture_email_url endpoint if not required. Implement additional server-side validation for visitor cookies. Review and remove any unauthorized user profile changes in WordPress.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-131687. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...