The ZarinPal Payment Gateway for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and…
CVE-2026-92251
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.
Assessment
- CVSS
- 7.5 (v3.1)
- Severity
- High
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 26 November 2026
- Last updated
- 26 November 2026
- Assigner
- Wordfence
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
At the source
References
- 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
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-92251