CVE-2026-6939

HIGH

CorvusPay WooCommerce Payment Gateway <= 2.7.4 - Unauthenticated Stored Cross-Site Scripting via 'approval_code' Parameter

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2026-6939. PoCs published by incogbyte.

AI-analyzed exploit summary This repository contains a functional exploit for CVE-2026-6939, an unauthenticated stored XSS vulnerability in CorvusPay WooCommerce Payment Gateway <= 2.7.4. The exploit demonstrates how an attacker can inject malicious JavaScript via the `approval_code` parameter, which is stored unsanitized and later rendered in order-received pages and emails.

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.

Exploits (1)

github WORKING POC 3 stars
by incogbyte · pythonpoc
https://github.com/incogbyte/wp-cve-exploits/tree/main/CVE-2026-6939

This repository contains a functional exploit for CVE-2026-6939, an unauthenticated stored XSS vulnerability in CorvusPay WooCommerce Payment Gateway <= 2.7.4. The exploit demonstrates how an attacker can inject malicious JavaScript via the `approval_code` parameter, which is stored unsanitized and later rendered in order-received pages and emails.

Classification
Working Poc 100%
Attack Type
Xss
Complexity
Moderate
Reliability
Reliable
Target: CorvusPay WooCommerce Payment Gateway <= 2.7.4
No auth needed
Prerequisites: A WooCommerce order with `_corvuspay_order_number` meta set (can be obtained via an abandoned checkout by the attacker) · Knowledge of the order_number, order_id, and order_key
mistral-large-3 · analyzed Jul 14, 2026 Full analysis →

Scores

CVSS v3 7.2
EPSS 0.0032
EPSS Percentile 24.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (1)
corvusinfo/CorvusPay WooCommerce Payment Gateway < 2.7.4
Published Jul 11, 2026
Tracked Since Jul 11, 2026