# CVE-2026-3617: Paypal Shortcodes <= 0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'amount' and 'name' Shortcode Attributes

- Severity: Medium 6.4 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 26% of CVEs (2026-11-30)
- Published: 2026-03-21T03:26:58.740Z
- Modified: 2026-06-17T10:43:52.747Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- swergroup Paypal Shortcodes: up to 0.3

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a9521ae8-e20e-49dd-a402-5521f8d2d98e?source=cve>
- <https://plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php#L106>
- <https://plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes.php#L106>
- <https://plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php#L105>
- <https://plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes.php#L105>
- <https://plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php#L89>
- <https://plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes.php#L89>

## Sources

- CVE List: [CVE-2026-3617](https://www.cve.org/CVERecord?id=CVE-2026-3617), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-3617](https://nvd.nist.gov/vuln/detail/CVE-2026-3617), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-3617 · Whole record: https://cve.day/CVE-2026-3617.json · Rebuilt by cve.day 2026-11-25T22:59:16.411Z
