Skip to main content

VNPAY Payment Gateway CVE-2025-12017

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-10-24 security@wordfence.com
6.1
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious URL with payload in 'message' param
  2. Delivery
    Deliver link to victim via phishing
  3. Exploit
    Victim clicks and page reflects script
  4. Execution
    JavaScript executes in victim browser session
  5. Impact
    Steal 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
niche regional (Vietnam) payment gateway plugin for WooCommerce
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2017-17058 HIGH POC
7.5 Nov 29

The WooCommerce plugin through 3.x for WordPress has a Directory Traversal Vulnerability via a /wp-content/plugins/wooco

CVE-2025-13773 CRITICAL POC
9.8 Dec 24

Unauthenticated remote code execution in Print Invoice & Delivery Notes for WooCommerce through 5.8.0 lets remote attack

CVE-2026-18143 CRITICAL POC
9.8 Sep 26

Unauthenticated arbitrary file upload in Addify's Request a Quote for WooCommerce plugin, affecting all versions up to a

CVE-2021-24212 CRITICAL POC
9.8 Apr 05

The WooCommerce Help Scout WordPress plugin before 2.9.1 (https://woocommerce.com/products/woocommerce-help-scout/) allo

CVE-2022-50972 CRITICAL POC
9.3 Jun 20

WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by

CVE-2026-112866 CRITICAL POC
9.3 Oct 24

Blind SQL injection in the WBW Product Filter WordPress plugin (woo-product-filter) through 3.4.6 lets remote attackers

CVE-2025-10162 HIGH POC
8.6 Oct 07

Unauthenticated path traversal in OrderConvo (the "Admin and Customer Messages After Order for WooCommerce" plugin), aff

CVE-2026-116528 CRITICAL POC
9.1 Nov 14

Unauthenticated retrieval of stored WooCommerce REST API credentials from the Chargely Free Subscriptions For Woocommern

CVE-2026-81649 CRITICAL POC
9.1 Oct 11

Unauthenticated remote attackers can seize control of the payment configuration on WordPress stores running the Fundiin

CVE-2026-123122 HIGH POC
8.8 Nov 14

Stored cross-site scripting in Checkout Files Upload for WooCommerce 2.4.0 lets an unauthenticated shopper upload an HTM

CVE-2026-122001 HIGH POC
8.8 Nov 07

Cross-site request forgery in the Komfortkasse for WooCommerce WordPress plugin before 1.4.9 can let an unauthenticated

CVE-2020-35627 HIGH POC
8.8 Dec 28

Ultimate WooCommerce Gift Cards 3.0.2 is affected by a file upload vulnerability in the Custom GiftCard Template that ca

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy