Read the docs

ZarinPal for WooCommerce exposes order keys and customer data

Priority LOW 34CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · None · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-639.

Summary

The ZarinPal Payment Gateway for WooCommerce plugin for WordPress in versions up to and including 5.1.1 has an insecure direct object reference (CWE-639). A flaw in its payment return handler lets an unauthenticated remote attacker obtain secret order keys for arbitrary orders, then use them to read customer names, addresses, phone numbers, email addresses, purchased items and totals.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Description from the CNA

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.

Why it matters now

EPSS 0.00611 43rd percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
zarinpalافزونه پرداخت امن زرین‌پال برای ووکامرس (ZarinPal for WooCommerce)up to 5.1.1—No fix listedCNA
  • افزونه پرداخت امن زرین‌پال برای ووکامرس (ZarinPal for WooCommerce) Vendorzarinpal Affected up to 5.1.1 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for ZarinPal Payment Gateway for WooCommerce.

Written with Claude Haiku 5.5 from the sources below · 2026-11-27

Timeline

  1. 2026-11-26 Threatist record created from CVE-2026-92251
  2. 2026-11-27 Alias added: GHSA-53mc-88hc-6q45

References

  • TI-2026-02214 Zarinpal Gateway for WooCommerce <= 5.0.16 - Improper Access Control to Payment Status Update CVSS 3.1HIGH 7.7
  • TI-2026-46630 WordPress Zarinpal Gateway plugin <= 5.1.0 - Cross Site Request Forgery (CSRF) vulnerability CVSS 3.1MEDIUM 4.3

Sources