Skip to main content

PayPal Payment Shortcode CVE-2025-13966

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-12 security@wordfence.com
6.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain Contributor-level account
  2. Delivery
    Insert [paypal-shortcode] with malicious buttom_image
  3. Exploit
    Store unsanitized payload in page
  4. Execution
    Victim views injected page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 6.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.4 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
niche WordPress PayPal shortcode plugin, small install base
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy