CVE-2026-6939
The CorvusPay WooCommerce Payment Gateway plugin for WordPress is …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.2/includes/c
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.2/includes/c
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.2/includes/c
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.3/includes/c
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.3/includes/c
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.3/includes/c
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/trunk/includes/class-
- plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/trunk/includes/class-
- nvd.nist.gov/vuln/detail/CVE-2026-6939
- cve.org/CVERecord?id=CVE-2026-6939
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.