CVE-2026-7517 HIGH

CVE-2026-7517: Custom Payment Gateways for WooCommerce <= 2.1.0 - Unauthenticated Stored Cross-Site Scripting via 'alg_wc_cpg_input_fields' Parameter

Vendor Dhruvin
Product Custom Payment Gateways for WooCommerce
Weakness CWE-79 · XSS
Published July 1, 2026
Last update July 1, 2026

CVSS base score

7.2/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

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

Related vulnerabilities

08Related CVE