{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-131687",
        "assignerOrgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
        "state": "PUBLISHED",
        "assignerShortName": "Wordfence",
        "dateReserved": "2026-11-17T22:02:09.551Z",
        "datePublished": "2026-11-26T09:33:24.111Z",
        "dateUpdated": "2026-11-27T16:36:12.572Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "b15e7b5b-3da4-40ae-a43c-f7aa60e62599",
                "shortName": "Wordfence",
                "dateUpdated": "2026-11-26T09:33:24.111Z"
            },
            "affected": [
                {
                    "vendor": "wpdesk",
                    "product": "ShopMagic – email automation for WordPress",
                    "versions": [
                        {
                            "version": "0",
                            "status": "affected",
                            "lessThanOrEqual": "4.9.5",
                            "versionType": "semver"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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()`."
                }
            ],
            "title": "ShopMagic <= 4.9.5 - Unauthenticated Improper Verification of Cryptographic Signature to Guest Impersonation and Arbitrary Guest Profile Modification via 'shopmagic_visitor_<COOKIEHASH>' Cookie",
            "references": [
                {
                    "url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/d741030b-d906-402c-9017-37b53882d666?source=cve"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Session/CookiePersistence.php#L52"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Interceptor/SessionCustomerProvider.php#L35"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Frontend/Interceptor/PreSubmitData.php#L150"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.4/src/Customer/Guest/GuestManager.php#L34"
                },
                {
                    "url": "https://plugins.trac.wordpress.org/changeset/3817710/shopmagic-for-woocommerce/tags/4.9.6"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "CWE-347 Improper Verification of Cryptographic Signature",
                            "cweId": "CWE-347",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Wordfence PRISM"
                }
            ],
            "timeline": [
                {
                    "time": "2026-11-17T22:17:30.000Z",
                    "lang": "en",
                    "value": "Vendor Notified"
                },
                {
                    "time": "2026-11-25T21:04:47.000Z",
                    "lang": "en",
                    "value": "Disclosed"
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-11-27T16:07:02.823814Z",
                                "id": "CVE-2026-131687",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-11-27T16:36:12.572Z"
                }
            }
        ]
    }
}