VNPAY Payment Gateway CVE-2025-12017
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious URL with payload in 'message' param
-
DeliveryDeliver link to victim via phishing
-
ExploitVictim clicks and page reflects script
-
ExecutionJavaScript executes in victim browser session
-
ImpactSteal session cookies or perform actions as victim
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the vulnerable VNPAY Payment gateway plugin (versions ≤1.0.0) installed on a WordPress/WooCommerce site and reaching the affected Thankyou shortcode/checkout flow that reflects the 'message' parameter. The decisive limiting factor is required user interaction (UI:R): an attacker cannot exploit this autonomously and must socially engineer a victim into clicking a crafted link carrying the payload. No authentication is required of the attacker (PR:N), and the payload executes only in the context of whichever user is tricked into visiting the malicious URL; it is non-persistent (reflected), so it affects only targeted victims, not all site visitors. |
| Impact | This is a moderate-severity reflected XSS (CVSS 6.1) that reads as a genuine but low-priority issue rather than a critical one. The CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) shows network-reachable, low-complexity, unauthenticated access, but the mandatory UI:R (user interaction - tricking a victim into clicking a crafted link) is the key limiter and is consistent with the reflected, non-persistent nature of the flaw. The scope change (S:C) and Low confidentiality/integrity impact reflect script execution in the victim's browser session rather than server compromise. Supporting signals all point to low real-world urgency: EPSS is 0.22% (11th percentile), there is no CISA KEV listing, and no public POC is identified in the provided data. These signals are consistent rather than conflicting - a low EPSS, absent KEV, and absent POC together indicate this is not under active or impending mass exploitation. The primary real-world risk is social-engineering-driven session/credential theft or admin-targeted phishing against sites running the affected plugin, not automated mass exploitation. |
| Exploit ScenarioDerived | An attacker crafts a malicious link to a vulnerable site with a payload in the 'message' parameter and delivers it to a victim via phishing email, chat, or a malicious page. When the victim (potentially a logged-in store admin or customer) clicks the link, the unsanitized value is reflected into the thank-you/checkout page and the injected JavaScript executes in their browser session. No public exploit code is identified at time of analysis, but reflected XSS of this type is trivial to weaponize into a one-off crafted URL. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Reflected cross-site scripting in the VNPAY Payment Gateway plugin for WordPress (slug vnpay-for-woocommerce) versions up to and including 1.0.0 lets remote attackers inject arbitrary script through the 'message' parameter handled by the Thankyou shortcode. Exploitation is not autonomous: per the assessed CVSS vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N), no attacker authentication is required, but a victim must be socially engineered into clicking a crafted link before the non-persistent payload executes in their browser. No public exploit code was identified at time of analysis, there is no CISA KEV listing, and EPSS is low at 0.22% (11th percentile), so this reads as a genuine but low-priority issue rather than a critical one.
RemediationAI
No vendor-released patch was identified at time of analysis, and no fixed version number is available to cite. Until the plugin is updated, the most reliable mitigation is to deactivate and, if not business-critical, remove the VNPAY Payment Gateway plugin; the trade-off is loss of the VNPAY payment option for WooCommerce checkout. If the plugin must remain active, apply virtual patching at a WAF or reverse proxy to inspect and block or encode requests containing script-like content in the 'message' parameter, particularly against the Thankyou shortcode and checkout endpoints, accepting that overly strict filtering may break legitimate status messages. Additionally restrict access to the affected Thankyou flow where feasible and enforce server-side output encoding for the 'message' parameter in the plugin template, though modifying plugin code is a temporary measure that can be overwritten by updates. Monitor the Wordfence advisory page (https://www.wordfence.com/threat-intel/vulnerabilities/id/b901f593-3691-4ea1-8ab6-1ddd68fa2e36?source=cve) for a patched release and upgrade promptly when one becomes available, and remind users to avoid clicking unsolicited links that could carry reflected payloads.
Affected ProductsAI
The VNPAY Payment Gateway plugin for WordPress, distributed under the slug vnpay-for-woocommerce, is affected in all versions up to and including 1.0.0. Any WordPress site running that plugin, including WooCommerce stores using VNPAY as a payment method, is potentially exposed when the vulnerable Thankyou shortcode/checkout flow is reachable and the 'message' parameter is reflected. No CPE strings were provided in the input data, so the affected inventory should be derived from plugin slug and version rather than a platform CPE. Vendor/source and advisory references supplied are the plugin source file at https://plugins.svn.wordpress.org/vnpay-for-woocommerce/trunk/src/shortcodes/Thankyou.php and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/b901f593-3691-4ea1-8ab6-1ddd68fa2e36?source=cve.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code is a WordPress/WooCommerce payment gateway plugin, and the cited source reference points to the plugin's shortcode implementation file (vnpay-for-woocommerce/trunk/src/shortcodes/Thankyou.php), which handles the post-payment 'Thankyou' flow and renders a 'message' parameter back to the user. The root-cause class is CWE-79, improper neutralization of input during web page generation, specifically the reflected variant: user-supplied input is echoed into the response without adequate sanitization and output escaping. In CVSS terms, PR:N confirms the attacker does not need an account on the target site, UI:R confirms a victim's click is required, and S:C indicates the injected script can affect resources beyond the vulnerable component (for example, the victim's authenticated session in the WordPress/WooCommerce site context). The impact sub-scores (C:L/I:L/A:N) reflect limited confidentiality and integrity effects and no direct availability impact. Because the payload is reflected rather than stored, it does not persist for other site visitors and only reaches users who are individually tricked into following a malicious URL.
Know when Woocommerce gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Unauthenticated remote reflected XSS requiring a victim click (PR:N, UI:R); scope changes to the browser (S:C) with limited confidentiality/integrity impact and no availability effect.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The VNPAY Payment gateway plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'message' parameter in all versions up to, and including, 1.0.0 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Woocommerce
View allThe WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco
Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack
Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a
The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by
Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers
Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff
Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern
Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin
Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM
Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated
Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB