Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-3617: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in swergroup Paypal Shortcodes

0
Medium
VulnerabilityCVE-2026-3617cvecve-2026-3617cwe-79
Published: Sat Mar 21 2026 (03/21/2026, 03:26:58 UTC)
Source: CVE Database V5
Vendor/Project: swergroup
Product: 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

AILast updated: 04/09/2026, 11:35:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses