Home

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.

PUBLISHED Reserved 2026-04-23 | Published 2026-07-11 | Updated 2026-07-13 | Assigner Wordfence




HIGH: 7.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-07-10:Disclosed

Credits

Valatty finder

References

www.wordfence.com/...-495f-4861-b66f-000072e99512?source=cve

plugins.trac.wordpress.org/...s/class-wc-order-corvuspay.php

plugins.trac.wordpress.org/...class-wc-gateway-corvuspay.php

plugins.trac.wordpress.org/...class-wc-gateway-corvuspay.php

plugins.trac.wordpress.org/...class-wc-gateway-corvuspay.php

plugins.trac.wordpress.org/...s/class-wc-order-corvuspay.php

plugins.trac.wordpress.org/...class-wc-gateway-corvuspay.php

plugins.trac.wordpress.org/...class-wc-gateway-corvuspay.php

plugins.trac.wordpress.org/...s/class-wc-order-corvuspay.php

plugins.trac.wordpress.org/...class-wc-gateway-corvuspay.php

plugins.trac.wordpress.org/...vuspay-woocommerce-integration

cve.org (CVE-2026-6939)

nvd.nist.gov (CVE-2026-6939)

Download JSON