Home

Description

The Zarinpal Gateway for WooCommerce plugin for WordPress is vulnerable to Improper Access Control to Payment Status Update in all versions up to and including 5.0.16. This is due to the payment callback handler 'Return_from_ZarinPal_Gateway' failing to validate that the authority token provided in the callback URL belongs to the specific order being marked as paid. This makes it possible for unauthenticated attackers to potentially mark orders as paid without proper payment by reusing a valid authority token from a different transaction of the same amount.

PUBLISHED Reserved 2026-02-16 | Published 2026-02-17 | Updated 2026-02-17 | Assigner Wordfence




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

Problem types

CWE-284 Improper Access Control

Product status

Default status
unaffected

* (semver)
affected

Timeline

2026-02-16:Disclosed

Credits

Angus Girvan finder

References

www.wordfence.com/...-318b-408e-86bf-b4ece46121cc?source=cve

plugins.trac.wordpress.org/.../class-wc-gateway-zarinpal.php

plugins.trac.wordpress.org/.../class-wc-gateway-zarinpal.php

plugins.trac.wordpress.org/.../class-wc-gateway-zarinpal.php

plugins.trac.wordpress.org/.../class-wc-gateway-zarinpal.php

plugins.trac.wordpress.org/.../class-wc-gateway-zarinpal.php

plugins.trac.wordpress.org/changeset/3445917/

cve.org (CVE-2026-2592)

nvd.nist.gov (CVE-2026-2592)

Download JSON