CVE-2026-135621: WP Express Checkout (Fast Payments via PayPal & Stripe) <= 2.5.5 - Unauthenticated Stored Cross-Site Scripting via 'wpec_data' Parameter
The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpecdata' (and 'data') parameters in versions up to, and including, 2.5.5 This is due to insufficient input sanitization and output escaping on the order item name, which is accepted from an unauthenticated AJAX request (wpecprocessemptypayment / wpecppcaptureorder), persisted as an order item via $order->additem() into post meta, and later rendered unescaped by OrderTagsHtml::downloadlink() through a sprintf() call that lands the value directly in an HTML body context used by the [wpecty field=downloadlink] / [wpectydownloads] shortcodes on the thank-you page. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses the crafted thank-you URL.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue, and what interaction is required for the payload to run?
An unauthenticated attacker can submit a crafted AJAX request using the affected parameters. The injected script executes when a user visits the attacker-crafted thank-you URL.
Are all sites using the affected plugin necessarily exposed to script execution?
The vulnerable value is rendered through the [wpec_ty field=download_link] or [wpec_ty_downloads] shortcodes on the thank-you page. Exposure therefore depends on a reachable thank-you page that uses one of those download-link rendering paths.
What data is persistently affected by a successful exploit?
The attacker-controlled order item name is stored as an order item in post meta. It is later inserted without escaping into the download-link HTML output.