XSS in Swergroup Paypal Shortcodes
CVE-2026-3617
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (26.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 26th percentile — 26.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.003 · change: +0.001
Affected products
- Swergroup Paypal Shortcodes — versions 0
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/a9521ae8-e20e-49dd-a402-5521f…
- plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php
- plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes…
- plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php
- plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes…
- plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php
- plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes…
Frequently asked questions
- What is CVE-2026-3617?
- CVE-2026-3617 is a medium-severity vulnerability in Swergroup Paypal Shortcodes, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2026-03-21.
- How severe is CVE-2026-3617?
- Medium severity. CVSS v3 base score is 6.4 out of 10.