Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Network-delivered CSRF requiring victim interaction (UI:R); attacker needs no privileges (PR:N) but integrity impact is bounded to plugin-scope configuration changes (I:L), with no confidentiality or availability impact.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
Lifecycle Timeline
1DescriptionCVE.org
Unauthenticated Cross Site Request Forgery (CSRF) in Zarinpal Gateway <= 5.1.0 versions.
AnalysisAI
Cross-Site Request Forgery in the Zarinpal Gateway WordPress/WooCommerce plugin (versions ≤5.1.0) enables unauthenticated remote attackers to forge HTTP requests on behalf of authenticated site users or administrators, resulting in unauthorized state changes within the plugin. The CVSS vector (PR:N/UI:R/S:U/I:L) confirms exploitation requires no attacker authentication but depends on luring an authenticated victim to a malicious page. No public exploit code has been identified and this vulnerability is not listed in the CISA KEV catalog, placing it in a moderate-priority remediation tier.
Technical ContextAI
Zarinpal Gateway is a WooCommerce payment gateway plugin that integrates the Zarinpal payment processor - a service predominantly used by Iranian e-commerce merchants - into WordPress storefronts. CWE-352 (Cross-Site Request Forgery) identifies the root cause as a failure to validate the origin or authenticity of incoming HTTP requests, typically manifesting as missing or improperly checked CSRF nonces on sensitive plugin endpoints (such as settings updates or gateway configuration forms). The CPE string cpe:2.3:a:zarinpal:zarinpal_gateway:*:*:*:*:*:*:*:* covers all versions up through and including 5.1.0. Because WordPress provides built-in nonce infrastructure (wp_nonce_field / check_admin_referer), the root cause is likely failure to implement these controls on one or more plugin action handlers.
RemediationAI
Patch available per vendor advisory - update the Zarinpal Gateway plugin to a version beyond 5.1.0 if one has been released via the WordPress plugin repository; consult the Patchstack advisory at https://patchstack.com/database/wordpress/plugin/zarinpal-woocommerce-payment-gateway/vulnerability/wordpress-zarinpal-gateway-plugin-5-1-0-cross-site-request-forgery-csrf-vulnerability for the confirmed fixed version. If no patched release is yet available, a compensating control is to restrict access to the WordPress admin dashboard using IP allowlisting or HTTP authentication at the web-server layer (e.g., nginx auth_basic or Apache mod_authz_host), reducing the attack surface by requiring the attacker to also control a trusted IP - note this does not eliminate the CSRF vector but raises the exploitation bar. Additionally, enforcing a strict Content-Security-Policy and SameSite=Strict cookie attribute on the WordPress session cookie (where host configuration permits) will neutralize cross-origin request forgery attempts at the browser level without requiring a plugin update.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-352 – Cross-Site Request Forgery (CSRF)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-48224
GHSA-h2r3-xx3r-xgf7