CVE-2026-7517 Cross-site scripting in Custom Payment Gateways for WooCommerce

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via checkout requests, potentially leading to session hijacking or malicious actions on behalf of users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-7517?

CVE-2026-7517 is a high-severity cross-site scripting vulnerability in dhruvin Custom Payment Gateways for WooCommerce, published on 1 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-7517?

How do I fix CVE-2026-7517?

No fix has been published for CVE-2026-7517 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-7517 being exploited?

There is no known exploitation of CVE-2026-7517 in the wild and no public exploit code.

Sources

Also known as GHSA-6q84-x2rr-737v.

Is CVE-2026-7517 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free