HackerFeeds
All CVEs

CVE-2026-92251: ZarinPal Payment Gateway for WooCommerce (WordPress plugin) Insecure Direct Object Refere…

HIGH7.5

Published 2026-11-26 · Updated 2026-12-01 · Source security@wordfence.com

Not known to be exploited · high severity — apply the vendor fix or mitigation in your next patch cycle.

What to do

  1. Check the references below for the vendor's patched release of ZarinPal Payment Gateway for WooCommerce (WordPress plugin) and apply it.
  2. Until it is patched, do not leave ZarinPal Payment Gateway for WooCommerce (WordPress plugin) reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Review access logs for requests that walk through identifiers, and restrict the affected endpoint.

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality is rated high.

CVSS 3.1 metrics for CVE-2026-92251
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityNoneNo effect on integrity.
AvailabilityNoneNo effect on availability.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Weakness: Insecure Direct Object Reference

By changing an identifier in a request, a user can access records that belong to someone else.

Classified as CWE-639.

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.

Advisory text as published in the NVD record.

View on NVD