Paypal Shortcodes <= 0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'amount' and 'name' Shortcode Attributes
Summary
| CVE | CVE-2026-3617 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-03-21 04:17:30 UTC |
| Updated | 2026-04-24 16:27:44 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.4 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Problem Types: CWE-79 | CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| 3.1 | CNA | DECLARED | 6.4 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
ChangedConfidentiality
LowIntegrity
LowAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Swergroup | Paypal Shortcodes | affected 0.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes.php | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/a9521ae8-e20e-49dd-a402-5521f... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/paypal-shortcodes/trunk/paypal-shortcodes.php | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/paypal-shortcodes/tags/0.3/paypal-shortcodes.php | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Gilang Asra Bilhadi (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-03-20T15:07:07.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.