CVE-2025-13966: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sonlamtn200 Paypal Payment Shortcode
The Paypal Payment Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'buttom_image' parameter of the [paypal-shortcode] shortcode in all versions up to, and including, 1.01 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-13966 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Paypal Payment Shortcode plugin for WordPress, specifically affecting all versions up to and including 1.01. The vulnerability is due to improper neutralization of input during web page generation (CWE-79), where the 'buttom_image' parameter of the [paypal-shortcode] shortcode is insufficiently sanitized and escaped before rendering. This flaw allows authenticated attackers with Contributor-level privileges or higher to inject arbitrary JavaScript code into WordPress pages. Because the malicious script is stored in the page content, it executes whenever any user accesses the compromised page, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required (low), no user interaction, and a scope change due to the impact extending beyond the vulnerable component. The vulnerability affects confidentiality and integrity but not availability. No patches or known exploits have been reported at the time of publication. The plugin is used to embed PayPal payment buttons via shortcode, making it a common feature on e-commerce or donation sites running WordPress. The flaw arises from a failure to properly sanitize the 'buttom_image' parameter, which is likely intended to specify an image URL or identifier but can be manipulated to include script code. This vulnerability underscores the importance of rigorous input validation and output encoding in WordPress plugins, especially those handling user-generated content or shortcode parameters.
Potential Impact
For European organizations, this vulnerability could lead to significant risks if exploited. Attackers with Contributor-level access—often users who can create and edit content but not publish—can inject malicious scripts that execute in the browsers of site visitors or administrators. This can result in session hijacking, theft of sensitive information, unauthorized actions on the site, or distribution of malware. E-commerce and financial transaction sites using the Paypal Payment Shortcode plugin are particularly at risk, as attackers could manipulate payment flows or steal payment credentials indirectly. The confidentiality and integrity of user data and site content are at risk, potentially damaging organizational reputation and customer trust. Additionally, regulatory compliance under GDPR requires protection of personal data, and exploitation of this vulnerability could lead to data breaches with legal and financial consequences. The vulnerability does not affect availability directly but could be leveraged as part of broader attacks. Given WordPress’s widespread use across Europe, especially in small and medium enterprises, the exposure is non-trivial.
Mitigation Recommendations
1. Immediate mitigation involves restricting Contributor-level user permissions to trusted individuals only, minimizing the risk of malicious content injection. 2. Disable or remove the Paypal Payment Shortcode plugin if it is not essential to business operations. 3. Implement Web Application Firewall (WAF) rules that detect and block suspicious script injections in shortcode parameters, particularly targeting the 'buttom_image' parameter. 4. Monitor and audit content created by Contributors for unexpected or suspicious code snippets. 5. Encourage plugin developers or site administrators to apply patches or updates once available; in the absence of official patches, consider custom code fixes that sanitize and escape the 'buttom_image' parameter properly before rendering. 6. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 7. Educate content creators on secure content practices and the risks of injecting untrusted data. 8. Regularly backup WordPress sites to enable recovery in case of compromise. These steps go beyond generic advice by focusing on access control, proactive monitoring, and layered defenses specific to the plugin’s functionality and the nature of the vulnerability.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Sweden
CVE-2025-13966: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sonlamtn200 Paypal Payment Shortcode
Description
The Paypal Payment Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'buttom_image' parameter of the [paypal-shortcode] shortcode in all versions up to, and including, 1.01 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Technical Analysis
CVE-2025-13966 identifies a stored Cross-Site Scripting (XSS) vulnerability in the Paypal Payment Shortcode plugin for WordPress, specifically affecting all versions up to and including 1.01. The vulnerability is due to improper neutralization of input during web page generation (CWE-79), where the 'buttom_image' parameter of the [paypal-shortcode] shortcode is insufficiently sanitized and escaped before rendering. This flaw allows authenticated attackers with Contributor-level privileges or higher to inject arbitrary JavaScript code into WordPress pages. Because the malicious script is stored in the page content, it executes whenever any user accesses the compromised page, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the victim. The CVSS 3.1 base score is 6.4, reflecting network attack vector, low attack complexity, privileges required (low), no user interaction, and a scope change due to the impact extending beyond the vulnerable component. The vulnerability affects confidentiality and integrity but not availability. No patches or known exploits have been reported at the time of publication. The plugin is used to embed PayPal payment buttons via shortcode, making it a common feature on e-commerce or donation sites running WordPress. The flaw arises from a failure to properly sanitize the 'buttom_image' parameter, which is likely intended to specify an image URL or identifier but can be manipulated to include script code. This vulnerability underscores the importance of rigorous input validation and output encoding in WordPress plugins, especially those handling user-generated content or shortcode parameters.
Potential Impact
For European organizations, this vulnerability could lead to significant risks if exploited. Attackers with Contributor-level access—often users who can create and edit content but not publish—can inject malicious scripts that execute in the browsers of site visitors or administrators. This can result in session hijacking, theft of sensitive information, unauthorized actions on the site, or distribution of malware. E-commerce and financial transaction sites using the Paypal Payment Shortcode plugin are particularly at risk, as attackers could manipulate payment flows or steal payment credentials indirectly. The confidentiality and integrity of user data and site content are at risk, potentially damaging organizational reputation and customer trust. Additionally, regulatory compliance under GDPR requires protection of personal data, and exploitation of this vulnerability could lead to data breaches with legal and financial consequences. The vulnerability does not affect availability directly but could be leveraged as part of broader attacks. Given WordPress’s widespread use across Europe, especially in small and medium enterprises, the exposure is non-trivial.
Mitigation Recommendations
1. Immediate mitigation involves restricting Contributor-level user permissions to trusted individuals only, minimizing the risk of malicious content injection. 2. Disable or remove the Paypal Payment Shortcode plugin if it is not essential to business operations. 3. Implement Web Application Firewall (WAF) rules that detect and block suspicious script injections in shortcode parameters, particularly targeting the 'buttom_image' parameter. 4. Monitor and audit content created by Contributors for unexpected or suspicious code snippets. 5. Encourage plugin developers or site administrators to apply patches or updates once available; in the absence of official patches, consider custom code fixes that sanitize and escape the 'buttom_image' parameter properly before rendering. 6. Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of XSS attacks. 7. Educate content creators on secure content practices and the risks of injecting untrusted data. 8. Regularly backup WordPress sites to enable recovery in case of compromise. These steps go beyond generic advice by focusing on access control, proactive monitoring, and layered defenses specific to the plugin’s functionality and the nature of the vulnerability.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-12-03T15:25:21.576Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 693b9187650da22753edbd22
Added to database: 12/12/2025, 3:52:39 AM
Last enriched: 12/12/2025, 4:14:20 AM
Last updated: 12/14/2025, 7:22:45 PM
Views: 8
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.
Related Threats
CVE-2025-14672: Heap-based Buffer Overflow in gmg137 snap7-rs
MediumCVE-2025-14674: Injection in aizuda snail-job
MediumCVE-2025-14673: Heap-based Buffer Overflow in gmg137 snap7-rs
MediumCVE-2025-14668: SQL Injection in campcodes Advanced Online Examination System
MediumCVE-2025-14667: SQL Injection in itsourcecode COVID Tracking System
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.