CVE-2026-110811 is a critical (CVSS 9.8) authentication bypass in the Trust Payments Gateway for WooCommerce (JavaScript Library) WordPress plugin. It affects versions up to and including 1.3.8 and lets unauthenticated attackers log in as WordPress user ID 1.
What Is It
The flaw (CWE-287, Improper Authentication) is in the code that creates a customer account at checkout. The new_customer_account() function saves the raw return value of wp_create_user() to the order's tp_userid post meta. It does this before it runs the is_wp_error() check. If the requested username already exists, wp_create_user() returns a WP_Error object rather than a user ID.
Next, the add_customer_details_to_thankyou_page() callback reads that meta value and casts it with (int). PHP turns any object into the integer 1. The plugin then calls wp_set_current_user(1) and wp_set_auth_cookie(1) without any condition, so the visitor is logged in as user ID 1.
To trigger the flaw, an attacker enters an existing login name in the new_username parameter during checkout. They then visit the thank-you page that loads after the order.
Why It Matters
- Severity: CVSS 3.1 base score 9.8 (CRITICAL), vector
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. An attacker can reach it over the network with low complexity. They need no privileges and no user interaction. - Impact: User ID 1 is normally the site administrator account created at install. On multisite installations it is typically a network super-admin. Taking over that account typically gives full control of the site.
- Preconditions: The Trust Payments gateway must be active. The attacker must place an order through checkout as a guest, entering an existing username in the account-creation field. No existing account or login is needed. Standard WordPress user enumeration can reveal the username of the ID 1 administrator.
- Exploitation status: CVE-2026-110811 is not in the CISA Known Exploited Vulnerabilities catalog. The supplied data does not confirm active exploitation.
What's Vulnerable
| Vendor | Product | Affected Versions |
|---|---|---|
| trustpayments | Trust Payments Gateway for WooCommerce (JavaScript Library) | All versions ≤ 1.3.8 |
Wordfence reported the issue. NVD published the record on 2026-11-18 and lists its status as "Deferred."
Patch Status
The supplied NVD and vendor data do not name a fixed version. Every release through 1.3.8 is affected. Because there is no CISA KEV entry, no federal remediation deadline or required action applies.
If you run this plugin:
- Check the Wordfence advisory and the plugin's WordPress.org listing for a release newer than 1.3.8.
- Until you can confirm a fix, consider disabling the Trust Payments gateway. The flaw can only be exploited while the gateway is active.