CVE-2026-3617: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swergroup Paypal Shortcodes
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.
AI Analysis
Technical Summary
CVE-2026-3617 is a stored cross-site scripting vulnerability in the swergroup Paypal Shortcodes WordPress plugin versions up to 0.3. The vulnerability arises from insufficient input sanitization and output escaping of the 'amount' and 'name' shortcode attributes. Specifically, the swer_paypal_shortcode() function uses extract() and shortcode_atts() to retrieve these attributes and then directly concatenates them into HTML input element value attributes without applying esc_attr() or equivalent escaping functions. This allows authenticated attackers with Contributor-level privileges or higher to inject arbitrary JavaScript code that executes in the context of users viewing the compromised pages.
Potential Impact
An attacker with Contributor-level or higher access can inject malicious scripts into pages using the vulnerable shortcode attributes. These scripts execute in the browsers of users who visit the infected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity of user interactions on affected sites.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory channels for updates. Until a fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the Paypal Shortcodes plugin if possible to prevent exploitation.
CVE-2026-3617: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swergroup Paypal Shortcodes
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-3617 is a stored cross-site scripting vulnerability in the swergroup Paypal Shortcodes WordPress plugin versions up to 0.3. The vulnerability arises from insufficient input sanitization and output escaping of the 'amount' and 'name' shortcode attributes. Specifically, the swer_paypal_shortcode() function uses extract() and shortcode_atts() to retrieve these attributes and then directly concatenates them into HTML input element value attributes without applying esc_attr() or equivalent escaping functions. This allows authenticated attackers with Contributor-level privileges or higher to inject arbitrary JavaScript code that executes in the context of users viewing the compromised pages.
Potential Impact
An attacker with Contributor-level or higher access can inject malicious scripts into pages using the vulnerable shortcode attributes. These scripts execute in the browsers of users who visit the infected pages, potentially leading to session hijacking, defacement, or other client-side attacks. The vulnerability does not affect availability but impacts confidentiality and integrity of user interactions on affected sites.
Mitigation Recommendations
No official patch or fix is currently available for this vulnerability. Users should monitor the vendor's advisory channels for updates. Until a fix is released, restrict Contributor-level access to trusted users only and consider disabling or removing the Paypal Shortcodes plugin if possible to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-03-05T19:00:50.086Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69be1810f4197a8e3b78438f
Added to database: 3/21/2026, 4:01:20 AM
Last enriched: 4/9/2026, 11:35:45 AM
Last updated: 5/3/2026, 5:16:49 AM
Views: 38
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.