CVE-2026-92251: افزونه پرداخت امن زرین‌پال برای ووکامرس (ZarinPal for WooCommerce) <= 5.1.1 - Insecure Direct Object Reference to Unauthenticated Sensitive Information Exposure via 'wc_order' Parameter

Published Nov 26, 2026
·
Updated

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 ReturnfromZarinPalGateway() handler registered on the woocommerceapiwczpal (?wc-api=wczpal) endpoint. The handler accepts a wcorder 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 getreturnurl($order), whose Location header embeds the order's secret orderkey. 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.

Affected Software

1 affected component
ZarinPal ZarinPal Payment Gateway for WooCommerce<=5.1.1

Event History

Nov 26, 2026
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Does exposure depend on an order having been paid through ZarinPal?

No. The affected handler can load arbitrary WooCommerce orders regardless of payment method. The order must be paid for the redirect to expose its secret order key.

2

What does an attacker need to exploit this issue?

An attacker only needs network access to the affected wc-api endpoint and a wc_order query-string value identifying an order. No authentication, nonce, session, capability, or order-ownership check is required.

3

What information can be accessed after an order key is obtained?

The harvested key can be used with WooCommerce order-received, order-pay, and download endpoints. Exposed information can include the customer's billing name, street address, phone number, email address, purchased items, and order totals.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203