7.2high
CorvusPay WooCommerce Payment Gateway <= 2.7.4 - Unauthenticated Stored Cross-Site Scripting via 'approval_code' Parameter
- Severity
- 7.2high CVSS:3.1 by Wordfence
- Exploit likelihood
- 0.56% (higher than 41% of CVEs)
- Published
- Last changed
- Assigned by
- Wordfence
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| corvusinfo CorvusPay WooCommerce Payment Gateway | up to 2.7.4 | CVE List |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6939 changed 2026-07-13 | CVE Terms of Use |
| NVD | CVE-2026-6939 changed 2026-07-13 | Public domain |