CVE-2026-110811 Details
Description
The Trust Payments Gateway for WooCommerce (JavaScript Library) plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 1.3.8. The vulnerability exists because the `new_customer_account()` function stores the raw return value of `wp_create_user()` — including a `WP_Error` object returned on username collision — into the order's `tp_userid` post meta before the `is_wp_error()` guard is evaluated; the `add_customer_details_to_thankyou_page()` callback subsequently reads that meta and casts it with `(int)`, causing PHP to coerce any object to integer `1`, after which `wp_set_current_user(1)` and `wp_set_auth_cookie(1)` are called unconditionally. This makes it possible for unauthenticated attackers to authenticate as WordPress user ID 1 — the bootstrap site administrator or, on multisite, a network super-admin — by supplying the `new_username` parameter matching any existing login during checkout and visiting the resulting thank-you page. Exploitation requires the Trust Payments gateway to be active and the attacker to complete a paid order on their own account; the ID 1 administrator username is additionally enumerable via standard WordPress user enumeration techniques.
A vulnerability allowing authentication bypass has been identified in the Trust Payments Gateway for WooCommerce (JavaScript Library) plugin for WordPress, affecting all versions through 1.3.8. The issue arises in the `new_customer_account()` function, which improperly handles the return value of `wp_create_user()`. Specifically, it saves a `WP_Error` object—indicating a username collision—into the order's `tp_userid` post meta before checking for errors. The `add_customer_details_to_thankyou_page()` callback then reads this meta, casts it to an integer, and inadvertently converts any object to integer `1`. This flaw allows unauthenticated attackers to authenticate as WordPress user ID 1 (the site administrator or a network super-admin on multisite) by matching the `new_username` parameter with an existing username during checkout and then visiting the thank-you page. Exploitation requires the Trust Payments gateway to be active and the attacker to complete a paid order on their account, with the ID 1 administrator username being enumerable through standard WordPress user enumeration techniques.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 18, 2026CISA-ADP
Assessed Nov 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-287 | Improper Authentication | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Trust Payments Gateway | <= 1.3.8 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CISA-ADP |
| Nov 18, 2026 | New CVE Received | [email protected] |
Volerion