---
id: CVE-2025-12017
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-10-24'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T11:10:00.250'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12017'
references:
  - url: >-
      https://plugins.svn.wordpress.org/vnpay-for-woocommerce/trunk/src/shortcodes/Thankyou.php
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/b901f593-3691-4ea1-8ab6-1ddd68fa2e36?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.0022
epssPercentile: 0.11469
ingestedAt: '2026-10-08T11:31:27.571Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
