What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
The Parsian Bank Gateway for WooCommerce plugin version 1.0 contains a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the site. An attacker can craft a malicious link that, when clicked by a site visitor, executes JavaScript in their browser. This can lead to session hijacking, credential theft, or malware distribution. The vulnerability affects the plugin's handling of user input without proper sanitization.
What an attacker can do
03Attacker Capabilities
Inject and execute malicious JavaScript in visitors' browsers via a crafted link.
Potential impact on your site
04Site Impact
Visitors' sessions can be hijacked, credentials stolen, or malware injected into your site.
Conditions required to exploit
05Prerequisites
A site visitor must click an attacker-supplied link while logged into or visiting the affected site.
Key dates
06Disclosure timeline
December 14, 2021
CVE published
February 14, 2025
Record updated