PayPal Payment Shortcode CVE-2025-13966
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Contributor-level account
-
DeliveryInsert [paypal-shortcode] with malicious buttom_image
-
ExploitStore unsanitized payload in page
-
ExecutionVictim views injected page
-
ImpactScript executes in victim browser context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated account with Contributor-level privileges or higher (CVSS PR:L) on the target WordPress site, and the attacker must be able to use the [paypal-shortcode] shortcode and supply the 'buttom_image' parameter, which is neither sanitized on input nor escaped on output in versions up to and including 1.01. The payload only triggers when another user subsequently loads the page containing the injected shortcode, so impact depends on a victim viewing that content. Limiting factors: the required Contributor+ trust level excludes unauthenticated/anonymous attackers and sites that do not grant untrusted users posting capability; the plugin must be installed and the vulnerable shortcode used. |
| Impact | This is a medium-severity (CVSS 6.4) stored XSS in a WordPress plugin, and the combined signals point to LOW real-world priority rather than an urgent threat. The CVSS vector (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) confirms network vector and low complexity, but PR:L means exploitation requires an authenticated account at Contributor level or above - a meaningful barrier that excludes anonymous internet attackers and insider-less deployments. EPSS is 0.22% (12th percentile), consistent with the low practical exploitability of an auth-gated stored XSS. There is no CISA KEV listing and no public exploit identified at time of analysis, so there is no evidence of active exploitation or weaponization. The scope change (S:C) reflects that injected script executes in other users'/visitors' browser contexts, which is why confidentiality and integrity impacts are rated Low rather than None. Net: a legitimate issue worth patching, but not a high real-world priority - it is a high-trust-barrier flaw (requires a Contributor+ account) in a niche plugin, not a widely-exploitable critical. No conflicting signals were found; all available data points consistently to limited, prerequisite-dependent risk. |
| Exploit ScenarioDerived | An attacker who already holds a Contributor-level (or higher) account on the WordPress site embeds a malicious [paypal-shortcode] with a crafted 'buttom_image' value containing script. When any user - including an administrator or site visitor - views the page containing the shortcode, the stored script executes in their browser, enabling session/cookie theft or actions in their authenticated context. No public exploit code is identified at time of analysis, and the attack depends on the attacker first obtaining Contributor-level access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in the PayPal Payment Shortcode plugin for WordPress (all versions up to and including 1.01) allows authenticated attackers with Contributor-level access or higher to inject arbitrary JavaScript via the 'buttom_image' parameter of the [paypal-shortcode] shortcode, which executes in the browser of any user who later views the affected page (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N, base 6.4). The root cause is that the plugin neither sanitizes the parameter on input nor escapes it on output (CWE-79), and the scope-change rating reflects that the script runs within the victim's session context rather than the attacker's. Risk signals are modest: EPSS is 0.22% (12th percentile), no public exploit code has been identified at time of analysis, and exploitation requires an already-trusted Contributor+ account, making this a low-priority, authenticated-only issue that still warrants patching or removing the shortcode.
RemediationAI
No vendor-released patch was identified at time of analysis: the CVE record covers all versions up to and including 1.01 with no fixed version named, and the only references point to the vulnerable source at both the 1.01 tag and trunk, so administrators cannot simply upgrade to a safe release. The most effective action is to deactivate and, if unused, uninstall the Paypal Payment Shortcode plugin, which removes the attack surface entirely at the cost of losing the PayPal shortcode rendering (replace it with a maintained payment button block or the official PayPal Payments plugin). If the plugin must stay active, avoid using the [paypal-shortcode] shortcode anywhere on the site, since the 'buttom_image' attribute is the sole injection vector; this preserves other plugin functionality but breaks payment button rendering. Additional compensating controls: review and tighten who holds Contributor or higher on multi-author sites (Contributors cannot normally publish, but their drafts and any content they submit for review can still carry the payload until an editor visits it), audit existing posts and drafts for [paypal-shortcode] occurrences and purge any suspicious buttom_image values, and deploy a WAF rule or Content-Security-Policy that blocks inline script execution as a backstop. Each of these has trade-offs - role restrictions disrupt contributor workflows, WAF rules may cause false positives on legitimate content, and strict CSP can break themes and other plugins, so apply them with testing. Track the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/b0b1fbb1-fc2c-4eb9-89c6-364ca8c385db?source=cve and the plugin's trac page for a future fixed release before re-enabling the plugin.
Affected ProductsAI
The affected product is the WordPress plugin Paypal Payment Shortcode, distributed under the slug paypal-payments-shortcode, in all released versions up to and including 1.01; the vulnerable code is visible in the 1.01 tag and in trunk at sls-paypal-payments-shortcode.php (lines 10 and 55) on plugins.trac.wordpress.org. Any WordPress site that has this plugin installed and uses the [paypal-shortcode] shortcode is in scope, and because the entire version history is affected there is no known safe version to fall back to. No CPE identifiers were published with the record, so asset inventories should be matched on the plugin directory slug. Site owners can confirm exposure by checking the installed plugin list for 'Paypal Payment Shortcode' and searching post content for the [paypal-shortcode] shortcode; the authoritative vulnerability record is the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/b0b1fbb1-fc2c-4eb9-89c6-364ca8c385db?source=cve.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the WordPress shortcode processing path implemented by the plugin file sls-paypal-payments-shortcode.php (referenced at lines 10 and 55 in both the tagged 1.01 and trunk revisions on plugins.trac.wordpress.org). WordPress shortcodes accept arbitrary attributes and pass them to handler functions; when a handler interpolates an attribute directly into generated HTML without sanitizing the incoming value (for example with sanitize_text_field, esc_url, or wp_kses) and without escaping it at render time (esc_attr/esc_html/esc_url), attacker-controlled markup is stored in post content and emitted verbatim to every subsequent page viewer. That is exactly the CWE-79 (Improper Neutralization of Input During Web Page Generation, stored variant) class here: the 'buttom_image' attribute of [paypal-shortcode] is stored in the post and rendered unescaped. The CVSS vector's S:C (scope change) and C:L/I:L/A:N profile are typical of reflected-to-victim script execution inside a higher-privileged browsing session, where confidentiality and integrity of the session are exposed but no server-side availability impact occurs. No CPE strings were supplied with the CVE record, so product identification rests on the plugin slug (paypal-payments-shortcode) and the vendor advisory from Wordfence.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Stored XSS requires an authenticated Contributor account (PR:L); payload executes in other users' browsers (S:C) with limited confidentiality/integrity impact and no availability impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Paypal Payment Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'buttom_image' parameter of the [paypal-shortcode] shortcode in all versions up to, and including, 1.01 due to insufficient input sanitization and output escaping. 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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB