Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-12017: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in teyldoan VNPAY Payment gateway

0
Medium
VulnerabilityCVE-2025-12017cvecve-2025-12017cwe-79
Published: Fri Oct 24 2025 (10/24/2025, 08:24:04 UTC)
Source: CVE Database V5
Vendor/Project: teyldoan
Product: VNPAY Payment gateway

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 19:51:34 UTC

Technical Analysis

CVE-2025-12017 is a reflected Cross-Site Scripting (XSS) vulnerability identified in the VNPAY Payment gateway plugin for WordPress, developed by teyldoan. This vulnerability affects all versions up to and including 1.0.0. The root cause is insufficient sanitization and escaping of user-supplied input in the 'message' parameter during web page generation. An attacker can craft a malicious URL containing a script payload in the 'message' parameter, which, when clicked by a user, causes the injected script to execute in the victim's browser context. This type of XSS is classified under CWE-79, indicating improper neutralization of input during web page generation. The vulnerability is exploitable remotely over the network without requiring authentication, but it does require user interaction (clicking a malicious link). The CVSS 3.1 base score is 6.1, reflecting medium severity with low attack complexity and no privileges required, but user interaction needed. The vulnerability can lead to partial compromise of confidentiality and integrity, such as theft of cookies, session tokens, or performing actions on behalf of the user. There are no known public exploits or patches available at the time of publication, increasing the urgency for organizations to implement mitigations. The vulnerability affects WordPress sites using the VNPAY Payment gateway plugin, which is a payment processing solution commonly used in certain markets. The reflected XSS nature means the attack surface is limited to users who are tricked into clicking malicious links, but the impact can be significant if exploited against administrative users or customers.

Potential Impact

The primary impact of CVE-2025-12017 is the potential compromise of user confidentiality and integrity on affected WordPress sites using the VNPAY Payment gateway plugin. Attackers can steal session cookies, credentials, or perform unauthorized actions on behalf of users, including administrators, leading to account takeover or fraudulent transactions. This can damage the reputation of affected organizations, result in financial losses, and erode customer trust. Since the vulnerability is reflected XSS, the attack requires social engineering to lure users into clicking malicious links, which can be distributed via email, social media, or other communication channels. The scope includes any organization running the vulnerable plugin, particularly e-commerce or financial service providers relying on VNPAY for payment processing. While availability is not directly impacted, successful exploitation can lead to further attacks or unauthorized access. The lack of known exploits in the wild currently limits immediate risk, but the medium CVSS score and ease of exploitation without authentication make it a credible threat. Organizations with high-value targets or sensitive customer data are at greater risk, especially if users have elevated privileges or if the site handles sensitive payment information.

Mitigation Recommendations

To mitigate CVE-2025-12017, organizations should first check for and apply any official patches or updates from the plugin vendor once available. In the absence of patches, implement strict input validation and output encoding on the 'message' parameter to neutralize malicious scripts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts on the website. Use Web Application Firewalls (WAFs) with rules targeting reflected XSS patterns to detect and block exploit attempts. Educate users and administrators about the risks of clicking unsolicited links, especially those that appear to come from the affected site. Regularly audit and monitor web logs for suspicious URL parameters and anomalous user activity. Consider temporarily disabling or replacing the vulnerable plugin if immediate patching is not possible. Additionally, implement multi-factor authentication (MFA) for administrative access to reduce the impact of stolen credentials. Finally, conduct security testing and code reviews on custom integrations with the payment gateway to ensure no similar vulnerabilities exist.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-10-21T13:55:27.993Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68fb3a1f0691a1b59916073e

Added to database: 10/24/2025, 8:34:39 AM

Last enriched: 2/27/2026, 7:51:34 PM

Last updated: 3/24/2026, 12:29:46 PM

Views: 198

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses