Skip to main content

ZarinPal for WooCommerce EUVDEUVD-2026-136743

| CVE-2026-92251 HIGH
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-26 Wordfence
7.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Enumerate WooCommerce order IDs
  2. Exploit
    Request ?wc-api=wc_zpal with wc_order parameter
  3. Execution
    Harvest order_key from 302 redirect Location header
  4. Impact
    Replay 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 wc_order order ID to the unauthenticated ?wc-api=wc_zpal endpoint, and the targeted order must be in a paid state for the handler to issue the 302 redirect that leaks the order_key - no authentication, nonce, session, capability, or ownership check limits access. Limiting factors: only paid orders leak a usable key, and the attacker must know or enumerate valid order IDs (WooCommerce order IDs are typically sequential, so enumeration is practical). No special non-default configuration is otherwise needed; exploitation works against default installs of the affected plugin.

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 woocommerce_api_wc_zpal endpoint is reachable by unauthenticated remote attackers with no user interaction and low complexity, and the C:H/I:N/A:N impact matches a pure confidentiality (PII disclosure) issue with no integrity or availability effect - the 7.5 base score is consistent with the description. The vuln.today Decision label is 'this_week' (not act_now/emergency), aligning with a serious but non-critical priority. No EPSS score, no CISA KEV listing, and no confirmed public exploit code are present in the input, so there is no evidence of active exploitation; exploitation status is therefore 'no public exploit identified at time of analysis.' The one genuine friction point not captured by AC:L is that an attacker must supply a valid wc_order ID and the order must be in a paid state for the redirect (and thus the order_key leak) to fire - sequential/guessable WooCommerce order IDs make enumeration realistic, but this is an operational nuance the vector cannot express. Net: a real priority for sites running the affected plugin because it exposes customer PII without authentication, but the lack of KEV/EPSS/confirmed PoC and the confidentiality-only impact place it below drop-everything severity.

Exploit ScenarioDerived

An unauthenticated attacker enumerates WooCommerce order IDs and sends crafted requests to ?wc-api=wc_zpal&wc_order=<id>; for each paid order the plugin returns a 302 redirect whose Location header embeds the secret order_key. The attacker then replays these keys against the WooCommerce order-received, order-pay, and download endpoints to read the victim's billing name, address, phone, email, purchased items, and totals. No public exploit code is identified in the sources, but the technique is straightforward given low attack complexity and no authentication requirement.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

افزونه پرداخت امن زرین‌پال برای ووکامرس (ZarinPal for WooCommerce) 0 ≤5.1.1

Affected Packages

euvd افزونه_پرداخت_امن_زرین_پال_برای_ووکامرس_zarinpal_for_woocommerce no fix

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

Vendor (Wordfence) PRIMARY HIGH
NVD 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.6%
Top 57% exploitable
Prevalence
Low
region-specific Iranian payment gateway plugin, limited global deployment footprint
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2017-17058 HIGH POC
7.5 Nov 29

The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco

CVE-2025-13773 CRITICAL POC
9.8 Dec 24

Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack

CVE-2026-18143 CRITICAL POC
9.8 Sep 26

Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a

CVE-2021-24212 CRITICAL POC
9.8 Apr 05

The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo

CVE-2022-50972 CRITICAL POC
9.3 Jun 20

WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by

CVE-2026-112866 CRITICAL POC
9.3 Oct 24

Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers

CVE-2025-10162 HIGH POC
8.6 Oct 07

Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff

CVE-2026-116528 CRITICAL POC
9.1 Nov 14

Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern

CVE-2026-81649 CRITICAL POC
9.1 Oct 11

Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin

CVE-2026-123122 HIGH POC
8.8 Nov 14

Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM

CVE-2026-122001 HIGH POC
8.8 Nov 07

Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated

CVE-2020-35627 HIGH POC
8.8 Dec 28

Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy