Security Alert Summary
The WP Express Checkout plugin for WordPress has a stored cross-site scripting (XSS) vulnerability affecting versions up to and including 2.5.5. An unauthenticated attacker can supply crafted input via AJAX parameters that is persisted and later rendered unescaped on the thank-you page, causing arbitrary scripts to run when a user visits the crafted thank-you URL.
CVE Details
- CVE ID: CVE-2026-135621
- Affected component: WP Express Checkout plugin for WordPress (Fast Payments via PayPal & Stripe)
- Affected versions: Versions up to and including 2.5.5
- Published: December 1, 2026 at 7:17:16 AM
- Last modified: December 1, 2026 at 3:17:50 PM
- CVSS v3.1: Base score 7.2, Severity: HIGH, Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - Authentication / Privileges / User interaction: No authentication required;
PR:N(none);UI:N(none) - Primary impact: Confidentiality: Low; Integrity: Low; Availability: None
- Weakness (CWE): CWE-79 (Improper Neutralization of Input During Web Page Generation)
Technical Details
This issue is a stored cross-site scripting vulnerability caused by insufficient input sanitization and output escaping of the order item name. The plugin accepts order item data from an unauthenticated AJAX request (parameters wpec_data and data) handled by the wpec_process_empty_payment and wpec_pp_capture_order handlers. The supplied item name is persisted via $order->add_item() into post meta. Later, the value is rendered unescaped by Order_Tags_Html::download_link() through a sprintf() call that places the value directly into HTML body context used by the [wpec_ty field=download_link] and [wpec_ty_downloads] shortcodes on the thank-you page.
Because the injected content is stored and later output without escaping in an HTML context, an attacker can cause arbitrary script execution in the browser of any user who visits the crafted thank-you URL. The impact aligns with the CVSS metrics: confidentiality and integrity impacts are present but limited, and availability is not impacted.
How This Could Impact Your Website
Consider a site where an external customer or contractor completes a checkout flow and receives a thank-you URL, while internal staff or other site users may also view generated order pages. An attacker able to craft a malicious order item name could cause script execution when a staff member, site administrator, or another customer views the thank-you page. Practical consequences include exposure of information accessible to the visiting user (for example cookies or data available in the page context) and the potential for the attacker to perform actions in the context of that visitor’s browser if the site allows such actions client-side.
This may increase the risk of targeted phishing or social engineering, for example by exposing internal user email addresses visible on order pages or enabling injection of misleading content on confirmation pages. If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review your setup.
Recommended Actions
- Update the affected plugin as soon as a patched version is available.
- Review and reduce unnecessary user roles, especially contributor-level and other accounts that can submit content.
- Enforce strong passwords and enable two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins and themes.
- Monitor site activity and logs for unusual behavior, including unexpected order items or thank-you page content.
If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.
References
- 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