CVE-2026-6939 Cross-site scripting in CorvusPay WooCommerce Payment Gateway

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary scripts via the approval_code parameter in the CorvusPay WooCommerce plugin, leading to stored XSS.

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-6939?

CVE-2026-6939 is a high-severity cross-site scripting vulnerability in corvusinfo CorvusPay WooCommerce Payment Gateway, published on 11 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The CorvusPay WooCommerce Payment Gateway plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'approval_code' parameter in all versions up to, and including, 2.7.4 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. The unauthenticated REST endpoint POST /wp-json/corvuspay/success/ is registered with permission_callback set to __return_true, and although a signature validation step exists it only logs the result without halting execution, meaning an attacker can supply a completely arbitrary signature and have a malicious approval_code stored in the database unchallenged.

Weakness: CWE-79

Which versions are affected by CVE-2026-6939?

How do I fix CVE-2026-6939?

No fix has been published for CVE-2026-6939 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-6939 being exploited?

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

Sources

Also known as GHSA-3qh5-q7jr-f3w8.

Is CVE-2026-6939 in your software?

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

Check your SBOMs for free