Skip to content
DayZeroHub
High Not yet writtenCVSS 7.5CVE-2026-92251

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

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

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-92251: high-severity vulnerability (CVSS 7.5) in zarinpal افزونه پرداخت امن زرین‌پال برای ووکامرس (ZarinPal for WooCommerce).

What happened

Original description from the source: 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

High severity, CVSS 7.5.

Affected products and versions

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

ProductVersionsFixed in
zarinpal افزونه پرداخت امن زرین‌پال برای ووکامرس (ZarinPal for WooCommerce)<= 5.1.1—

Action recommended by the source

See the official references for the fix or mitigation.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-639

Relevant change history

  1. Published

    Preliminary advisory published.