CorvusPay WooCommerce Payment Gateway <= 2.7.4 - Unauthenticated Stored Cross-Site Scripting via 'approval_code' Parameter
Summary
| CVE | CVE-2026-6939 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-11 07:16:46 UTC |
| Updated | 2026-07-11 07:16:46 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.2 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 7.2 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Corvusinfo | CorvusPay WooCommerce Payment Gateway | affected 2.7.4 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/changeset | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.3/includes... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.3/includes... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/trunk/includes/clas... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/trunk/includes/clas... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.2/includes... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.3/includes... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.2/includes... | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/d8a81c01-495f-4861-b66f-00007... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/tags/2.7.2/includes... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/corvuspay-woocommerce-integration/trunk/includes/clas... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Valatty (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-07-10T16:43:03.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.