Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/zarinpal-woocommerce-payment-gateway/
- https://plugins.trac.wordpress.org/browser/zarinpal-woocommerce-payment-gateway/
- https://plugins.trac.wordpress.org/browser/zarinpal-woocommerce-payment-gateway/
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3790807%40zarinpal-wo
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d0f61c11-a437-4f51-846
FAQ
What is CVE-2026-92251?
CVE-2026-92251 is a vulnerability with a CVSS score of 7.5 (HIGH). 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()` han...
How severe is CVE-2026-92251?
CVE-2026-92251 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-92251?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.