XSS in Dhruvin Custom Payment Gateways For Woocommerce

CVE-2026-7517

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.002 (16.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-7517?
CVE-2026-7517 is a high-severity vulnerability in Dhruvin Custom Payment Gateways For Woocommerce, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2026-07-01.
How severe is CVE-2026-7517?
High severity. CVSS v3 base score is 7.2 out of 10.