What the vulnerability does
01Description
The WooCommerce Payment Gateway Per Category WordPress plugin is vulnerable to Reflected Cross-Site Scripting due to a reflected $_SERVER["PHP_SELF"] value in the ~/includes/plugin_settings.php file which allows attackers to inject arbitrary web scripts, in versions up to and including 2.0.10.
Explanation of Vulnerability in Simple Terms
02Summary
WooCommerce Payment Gateway Per Category version 2.0.10 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.
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 clicking malicious links could have their sessions hijacked, credentials stolen, or be redirected to malware.
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
September 10, 2021
CVE published
May 2, 2025
Record updated