What the vulnerability does
01Description
The Custom Payment Gateways for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'alg_wc_cpg_input_fields' parameter in all versions up to, and including, 2.1.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This vulnerability is exploitable by unauthenticated guest users submitting a crafted checkout POST request, requiring no custom input fields to be configured in the plugin.
Explanation of Vulnerability in Simple Terms
02Summary
Custom Payment Gateways for WooCommerce versions 2.1.0 and earlier contain a cross-site scripting (XSS) vulnerability that allows attackers to inject malicious scripts into the site without authentication. The vulnerability affects the payment gateway interface and can impact multiple users. Site administrators should update to a version newer than 2.1.0 immediately.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in visitors' browsers and steals payment data or session tokens.
Potential impact on your site
04Site Impact
Customers' payment information and login sessions at risk; site reputation and PCI compliance compromised.
Conditions required to exploit
05Prerequisites
No authentication or user interaction required; attacker can exploit remotely over the network.
Key dates
06Disclosure timeline
July 1, 2026
CVE published