Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate WooCommerce order IDs
-
ExploitRequest ?wc-api=wc_zpal with wc_order parameter
-
ExecutionHarvest order_key from 302 redirect Location header
-
ImpactReplay key against order-received/download endpoints to read customer PII
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires the ZarinPal Payment Gateway for WooCommerce plugin (version ≤5.1.1) active on a WordPress/WooCommerce site. The attacker must supply a |
| Impact | Multiple signals converge on a credible but moderate-urgency data-exposure risk. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) correctly reflects that the |
| Exploit ScenarioDerived | An unauthenticated attacker enumerates WooCommerce order IDs and sends crafted requests to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Unauthenticated disclosure of WooCommerce order keys in the ZarinPal Payment Gateway for WooCommerce plugin (versions up to and including 5.1.1) allows remote attackers to harvest the secret order_key of arbitrary orders and then replay those keys against WooCommerce order-received, order-pay and download endpoints to read customer PII. The flaw is reachable through the plugin's ?wc-api=wc_zpal API endpoint, which loads any order ID supplied in the wc_order query parameter without any authentication, nonce, session, capability or ownership check, and - for paid orders - redirects to a return URL whose Location header contains the key. Wordfence reported the issue and assessed it as requiring no privileges or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N, 7.5); no public exploit code or CISA KEV entry was identified at time of analysis, and the priority label is this_week, reflecting a credible but moderate-urgency data-exposure risk rather than an active-exploitation emergency.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the reference set includes changeset 3790807 in the zarinpal-woocommerce-payment-gateway repository (https://plugins.trac.wordpress.org/changeset?reponame=&old=3790807%40zarinpal-woocommerce-payment-gateway&new=3790807%40zarinpal-woocommerce-payment-gateway), which should be reviewed to confirm it adds a nonce/key/ownership check before get_return_url() is called, and administrators should verify with the vendor that a tagged release above 5.1.1 carrying that change is published before upgrading to it. Where upgrading is not immediately possible, the actionable compensating control is to block requests to the ?wc-api=wc_zpal endpoint (for example with a WAF rule or web-server rewrite matching the wc-api=wc_zpal query string); the trade-off is that this also blocks legitimate ZarinPal gateway return/callback traffic, so customers completing ZarinPal payments will not be redirected back to the order-received page until the rule is removed, and sites not using ZarinPal as an active gateway can simply deactivate and remove the plugin. Blocking alone does not undo prior exposure: because harvested order_key values remain valid for existing orders, review access logs for enumeration of the wc_order parameter and for subsequent hits on order-received, order-pay and download URLs, and treat customer billing data (name, address, phone, email, purchase history) as potentially disclosed for any impacted orders.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerable code lives in class-wc-gateway-zarinpal.php of the zarinpal-woocommerce-payment-gateway plugin (source references point to lines 93, 391 and 400 of tag 5.1.1). WooCommerce exposes plugin API handlers through the woocommerce_api_{id} action hooked to the wc-api query variable, so the ZarinPal gateway's Return_from_ZarinPal_Gateway() method is reachable at any site URL carrying ?wc-api=wc_zpal. That method reads wc_order from the request, calls wc_get_order() on the attacker-supplied value, and - with no order-key, nonce, ownership, capability or session validation - passes the order into get_return_url($order) when the order is in a paid state; WooCommerce builds that URL with the order's secret order_key, so the key is emitted in the 302 Location header. This is CWE-639 (Authorization Bypass Through User-Controlled Key): a user-controlled identifier is used to access an object without an authorization check. Because WooCommerce order IDs are sequential, an attacker can enumerate them; the practical limit is that only orders already in a paid state produce the leaking redirect, and the harvested key must then be used against the standard order-received, order-pay and download endpoints, which trust the key as proof of possession. The plugin source uses WordPress/WooCommerce primitives (WC_Payment_Gateway subclasses, wc_get_order, get_return_url) rather than any custom cryptography, so the entire security boundary rests on the order_key secret, which this endpoint discloses for free.
Know when Woocommerce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Unauthenticated remote endpoint with no user interaction (AV:N/AC:L/PR:N/UI:N); discloses customer PII (C:H) with no integrity or availability impact and no scope change.
Primary rating from Vendor (Wordfence).
CVSS VectorNVD
DescriptionNVD
The ZarinPal Payment Gateway for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 5.1.1 via the Return_from_ZarinPal_Gateway() handler registered on the woocommerce_api_wc_zpal (?wc-api=wc_zpal) endpoint. The handler accepts a wc_order parameter from the query string, loads the corresponding WooCommerce order without any authentication, nonce, session, capability, or ownership check, and - when the order is paid - issues a 302 redirect to get_return_url($order), whose Location header embeds the order's secret order_key. This makes it possible for unauthenticated attackers to harvest order keys for arbitrary orders (regardless of payment method) and then use those keys against the WooCommerce order-received, order-pay and download endpoints to read the associated customer's PII, including billing name, street address, phone number, email, purchased items, and totals.
Executive ViewAI
WooCommerce stores using the ZarinPal Payment Gateway plugin (versions up to and including 5.1.1) are exposed to unauthenticated customer data breaches. Attackers can obtain secret order keys and access order details, leaking personally identifiable information (PII) such as names and addresses. Leadership should prioritize remediation to avoid regulatory penalties and reputational damage from data exposure.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict access to the ?wc-api=wc_zpal endpoint via WAF or server configuration to only trusted ZarinPal IPs; disable the plugin until a patch is available; manually rotate and invalidate existing order keys for open orders.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Woocommerce
View allThe WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco
Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack
Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a
The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by
Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers
Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff
Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern
Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin
Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM
Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated
Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca
EUVD-2026-136743
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB