CVE-2026-3617
Received Received - Intake

Stored XSS in Paypal Shortcode Plugin Allows Script Injection

Vulnerability report for CVE-2026-3617, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-03-21

Last updated on: 2026-03-21

Assigner: Wordfence

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-03-21
Last Modified
2026-03-21
Generated
2026-07-06
AI Q&A
2026-03-21
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
swergroup paypal_shortcode to 0.3 (inc)
paypal shortcode_plugin to 0.3 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The Paypal Shortcode plugin for WordPress has a Stored Cross-Site Scripting (XSS) vulnerability in all versions up to and including 0.3. This vulnerability arises because the plugin does not properly sanitize or escape user-supplied input in the 'amount' and 'name' shortcode attributes. Specifically, the function handling these attributes extracts them and directly inserts their values into HTML input elements without applying necessary escaping functions. As a result, an authenticated attacker with Contributor-level access or higher can inject malicious scripts that will execute whenever a user views the affected page.

Impact Analysis

This vulnerability can allow an attacker with Contributor-level access or above to inject arbitrary malicious scripts into pages on a WordPress site using the Paypal Shortcode plugin. These scripts execute in the browsers of users who visit the infected pages, potentially leading to theft of sensitive information, session hijacking, defacement, or other malicious actions. Because the vulnerability is a Stored XSS, the malicious code persists on the site and affects all visitors to the compromised pages.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-3617. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart