Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WooCommerce site using Zarinpal Gateway ≤5.1.0
-
DeliveryCraft forged HTTP request targeting plugin action endpoint
-
ExploitDistribute malicious link to authenticated admin
-
ExecutionVictim visits attacker page while logged in
-
PersistBrowser auto-submits forged request with session cookie
-
ImpactPlugin processes unauthorized state change
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that: (1) the target site is running Zarinpal Gateway plugin version ≤5.1.0 with an active WooCommerce installation; (2) a user with sufficient WordPress privileges (administrator or WooCommerce shop manager) is logged in and visits an attacker-controlled page during the same browser session. The CVSS UI:R metric confirms victim interaction is mandatory. Limiting factors include the need to identify and socially engineer a privileged authenticated user, the regional specificity of the Zarinpal payment processor (primarily Iranian storefronts), and the absence of confidentiality or availability impact - the worst realistic outcome is unauthorized modification of plugin settings (I:L). No special server-side configuration beyond having the plugin installed and active is required. |
| Impact | The CVSS 3.1 base score of 4.3 (Medium) is consistent with a CSRF affecting only integrity at a low level (I:L) with no confidentiality or availability impact. The vector AV:N/AC:L/PR:N/UI:R/S:U reflects that exploitation is straightforward once a victim interacts but is gated on that interaction. No EPSS data was provided in the intelligence feed, so exploitation probability cannot be quantified. The vulnerability is absent from the CISA KEV catalog, and no POC code has been identified - both signals point away from active or opportunistic exploitation at this time. The primary limiting factor is UI:R: an attacker must socially engineer an authenticated WordPress administrator or shop manager into visiting a crafted page during an active session. Real-world risk is further constrained by the plugin's regional footprint (Iranian payment market). On balance, this is a genuine but low-urgency issue - prioritize patching during a normal maintenance window rather than emergency response. |
| Exploit ScenarioDerived | An attacker crafts a webpage containing a hidden HTML form or JavaScript fetch call targeting a vulnerable Zarinpal Gateway plugin endpoint (such as a settings-save action) with attacker-controlled parameters. The attacker distributes the link to a WooCommerce store administrator via phishing email or a compromised third-party site; when the admin visits the page while logged into their WordPress dashboard, the browser silently submits the forged request with the admin's session cookie, potentially modifying payment gateway configuration. No public POC has been identified, but the attack requires only standard HTML and social engineering. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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.
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Zarinpal Gateway gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
DescriptionCVE.org
Unauthenticated Cross Site Request Forgery (CSRF) in Zarinpal Gateway <= 5.1.0 versions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-48224
GHSA-h2r3-xx3r-xgf7
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB