CVE-2026-3617
Stored XSS in Paypal Shortcode Plugin Allows Script Injection
Publication date: 2026-03-21
Last updated on: 2026-03-21
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| swergroup | paypal_shortcode | to 0.3 (inc) |
| paypal | shortcode_plugin | to 0.3 (inc) |
Helpful Resources
Exploitability
| 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 Powered Q&A
Can you explain this vulnerability to me?
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.
How can this vulnerability impact me? :
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.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
I don't know