CVE-2026-6939: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in corvusinfo CorvusPay WooCommerce Payment Gateway
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.
AI Analysis
Technical Summary
CVE-2026-6939 is a stored cross-site scripting vulnerability in the CorvusPay WooCommerce Payment Gateway plugin for WordPress. The issue is due to improper neutralization of input in the 'approval_code' parameter, which is stored and later rendered without sufficient sanitization or escaping. An unauthenticated REST endpoint (/wp-json/corvuspay/success/) is registered with a permission callback that always returns true, and although signature validation is logged, it does not prevent malicious input from being stored. This allows attackers to inject arbitrary web scripts that execute in the context of users visiting the injected pages. The vulnerability affects all plugin versions up to and including 2.7.4.
Potential Impact
An attacker can inject and store malicious scripts via the 'approval_code' parameter without authentication. These scripts execute in the browsers of users who visit the affected pages, potentially leading to session hijacking, data theft, or other client-side attacks. The vulnerability impacts confidentiality and integrity but does not affect availability. The CVSS 3.1 base score is 7.2 (high severity), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and partial impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting access to the vulnerable REST endpoint and implement additional input validation or output escaping as a temporary mitigation. Monitor vendor channels for updates and apply official patches promptly once released.
CVE-2026-6939: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in corvusinfo CorvusPay WooCommerce Payment Gateway
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.
CVSS v3.1
Score 7.2high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-6939 is a stored cross-site scripting vulnerability in the CorvusPay WooCommerce Payment Gateway plugin for WordPress. The issue is due to improper neutralization of input in the 'approval_code' parameter, which is stored and later rendered without sufficient sanitization or escaping. An unauthenticated REST endpoint (/wp-json/corvuspay/success/) is registered with a permission callback that always returns true, and although signature validation is logged, it does not prevent malicious input from being stored. This allows attackers to inject arbitrary web scripts that execute in the context of users visiting the injected pages. The vulnerability affects all plugin versions up to and including 2.7.4.
Potential Impact
An attacker can inject and store malicious scripts via the 'approval_code' parameter without authentication. These scripts execute in the browsers of users who visit the affected pages, potentially leading to session hijacking, data theft, or other client-side attacks. The vulnerability impacts confidentiality and integrity but does not affect availability. The CVSS 3.1 base score is 7.2 (high severity), reflecting network attack vector, low attack complexity, no privileges required, no user interaction, and partial impact on confidentiality and integrity.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, users should consider disabling or restricting access to the vulnerable REST endpoint and implement additional input validation or output escaping as a temporary mitigation. Monitor vendor channels for updates and apply official patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-04-23T19:42:23.702Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a51e3a068715ace434f57f9
Added to database: 07/11/2026, 06:33:04 UTC
Last enriched: 07/18/2026, 15:33:18 UTC
Last updated: 08/23/2026, 22:52:13 UTC
Views: 74
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.