Security Alert Summary
The WP Express Checkout (Fast Payments via PayPal & Stripe) plugin for WordPress contains a stored cross-site scripting (XSS) vulnerability that can allow unauthenticated attackers to inject JavaScript via a payment parameter when specific manual checkout and thank-you page settings are used. Exploitation requires the site to have manual checkout enabled and at least one thank-you page using the affected shortcode field.
CVE Details
- CVE ID: CVE-2026-118699
- Affected component: WP Express Checkout (Fast Payments via PayPal & Stripe) plugin for WordPress
- Affected versions: All versions up to and including 2.5.5
- Published: December 1, 2026 at 7:17:14 AM
- Last modified: December 1, 2026 at 3:17:48 PM
- CVSS v3.1: Base score 5.4 (Medium) —
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N - Authentication / privileges / user interaction: No authentication required; privileges required: None; user interaction: None; attack complexity: High; scope: Changed
- Primary impact: Confidentiality: Low; Integrity: Low; Availability: None
- CWE: CWE-79 (Improper Neutralization of Input During Web Page Generation / Cross-site Scripting)
Technical Details
This vulnerability is a stored cross-site scripting (XSS) issue caused by insufficient input sanitization and output escaping of a payment parameter. The plugin fails to properly sanitize and escape the wp_ppdg_payment[payer][name][given_name] parameter, which can lead to attacker-supplied script being stored and later rendered to users.
Exploitation is contingent on configuration: the site must have the manual checkout option enabled and at least one thank-you page that uses the [wpec_ty field=first_name] shortcode or a sibling field shortcode. The default [wpec_thank_you] template is not affected, but the plugin’s downloads thank-you template does use [wpec_ty], which could expose sites using that template.
When an attacker injects script into the affected parameter and a visitor (or an administrator/editor viewing the injected page) loads the thank-you page that renders the stored value, the injected script executes in the context of the user’s browser. The impact is limited to the confidentiality and integrity of data accessible via the browser context (for example, session-visible content), and does not indicate direct server-side compromise from the information provided.
How This Could Impact Your Website
Consider a site where an external contractor or customer performs manual checkouts and the site has a thank-you page that renders the stored first name using the [wpec_ty] shortcode. An attacker could submit a crafted payment record that stores malicious script in the payer given_name field. When internal staff, editors, or the site owner view the thank-you page or any page that renders that stored value, the script could run in their browsers.
Practical consequences include exposure of information accessible in the browser context, such as visible user details, and an increased risk of targeted phishing or social engineering that leverages those details. For example, disclosed user display names or other rendered fields could be used to craft convincing phishing messages aimed at staff or contractors.
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 of 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 accounts and other low-privilege roles that can submit data.
- Enforce strong passwords and two-factor authentication for editors and administrators.
- Remove unused or unmaintained plugins and themes.
- Monitor site activity and logs for unusual behavior, including unexpected thank-you page content or new manual checkout entries.
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.4/includes/class-payment-processor-manual.php#L120
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.4/includes/class-payment-processor.php#L423
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.4/public/includes/class-order-tags-html.php#L33
- https://plugins.trac.wordpress.org/browser/wp-express-checkout/tags/2.5.4/public/includes/class-shortcodes.php#L600
- https://www.wordfence.com/threat-intel/vulnerabilities/id/58ab2e39-c086-4637-966a-85167286551e?source=cve
Disclosure: This advisory is based solely on the information provided in the CVE record.