What’s Vulnerable › Vulnerabilities
CVE-2021-39309: Parsian Bank Gateway for Woocommerce <= 1.0 Reflected Cross-Site Scripting
- Severity: medium (CVSS 4.3 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-12-14 · updated 2026-06-17
- Weakness: CWE-79
Description
The Parsian Bank Gateway for Woocommerce WordPress plugin is vulnerable to Reflected Cross-Site Scripting via and parameter due to a var_dump() on $_POST variables found in the ~/vendor/dpsoft/parsian-payment/sample/rollback-payment.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 1.0.
Affected products
- Parsian Bank Gateway for Woocommerce: through 1.0
References
- https://plugins.trac.wordpress.org/browser/parsian-bank-gateway-for-woocommerce/tags/1.0/vendor/dpsoft/parsian-payment/sample/rollback-payment.php#L39
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39309
- https://plugins.trac.wordpress.org/browser/parsian-bank-gateway-for-woocommerce/tags/1.0/vendor/dpsoft/parsian-payment/sample/rollback-payment.php#L39
- https://www.wordfence.com/vulnerability-advisories/#CVE-2021-39309
Get alerted when CVE-2021-39309 or the next vulnerability affects your stack