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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.004 (35.0th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 35.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Dhruvin Custom Payment Gateways For Woocommerce — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/1defa728-9f9d-4e8f-8f6c-432c6…
- plugins.trac.wordpress.org/browser/custom-payment-gateways-woocommerce/trunk/in…
- plugins.trac.wordpress.org/browser/custom-payment-gateways-woocommerce/tags/2.1…
- plugins.trac.wordpress.org/browser/custom-payment-gateways-woocommerce/trunk/in…
- plugins.trac.wordpress.org/browser/custom-payment-gateways-woocommerce/tags/2.1…
- plugins.trac.wordpress.org/browser/custom-payment-gateways-woocommerce/trunk/in…
- plugins.trac.wordpress.org/browser/custom-payment-gateways-woocommerce/tags/2.1…
- plugins.trac.wordpress.org/changeset
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.