ZarinPal for WooCommerce exposes order keys and customer data
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
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
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
- 2026-11-26 Threatist record created from CVE-2026-92251
- 2026-11-27 Alias added: GHSA-53mc-88hc-6q45
References
Other 5
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d0f61c11-a437-4f51-8462-39a17f8bf3a8?source=cve
- https://plugins.trac.wordpress.org/browser/zarinpal-woocommerce-payment-gateway/tags/5.1.1/class-wc-gateway-zarinpal.php#L400
- https://plugins.trac.wordpress.org/browser/zarinpal-woocommerce-payment-gateway/tags/5.1.1/class-wc-gateway-zarinpal.php#L391
- https://plugins.trac.wordpress.org/browser/zarinpal-woocommerce-payment-gateway/tags/5.1.1/class-wc-gateway-zarinpal.php#L93
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3790807%40zarinpal-woocommerce-payment-gateway&new=3790807%40zarinpal-woocommerce-payment-gateway
More zarinpal vulnerabilities
- 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
- CVE-2026-92251 · CVE Program
- CVE-2026-92251 · NVD
- FIRST EPSS
- GHSA-53mc-88hc-6q45 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences