The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the...
🔗 CVE IDs covered (1)
📋 Description
The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpec_data' (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 (wpec_process_empty_payment / wpec_pp_capture_order), persisted as an order item via $order->add_item() into post meta, and later rendered unescaped by Order_Tags_Html::download_link() through a sprintf() call that lands the value directly in an HTML body context used by the [wpec_ty field=download_link] / [wpec_ty_downloads] 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.
🔗 References (9)
- https://nvd.nist.gov/vuln/detail/CVE-2026-135621
- https://downloads.wordpress.org/plugin/wp-express-checkout.2.5.6.zip
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-payment-processor-free.php#L35
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-payment-processor.php#L125
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-payment-processor.php#L299
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/includes/class-paypal-button-ajax-handler.php#L115
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.5/public/includes/class-order-tags-html.php#L191
- https://www.wordfence.com/threat-intel/vulnerabilities/id/efb0d5da-d90a-4b70-b693-fde511968a0d?source=cve
- https://github.com/advisories/GHSA-cw9m-96m8-hj9v