CVE-2026-110811 - Trust Payments Gateway for WooCommerce Authentication Bypass
Authentication bypass in Trust Payments Gateway for WooCommerce (JavaScript Library) plugin for WordPress <= 1.3.8 lets unauthenticated attackers authenticate as WordPress user ID 1 via a crafted checkout username and thank-you page visit.
Affected: Trust Payments Gateway for WooCommerce (JavaScript Library) plugin for WordPress, all versions up to and including 1.3.8.
Details: The new_customer_account() function stores the raw return value of wp_create_user() into the order's tp_userid post meta before the is_wp_error() guard is evaluated. On username collision, a WP_Error object is stored. Later, add_customer_details_to_thankyou_page() reads this 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. An unauthenticated attacker can supply the new_username parameter matching any existing login during checkout, complete a paid order on their own account, and visit the resulting thank-you page to authenticate as user ID 1 (the bootstrap site administrator, or a network super-admin on multisite). The ID 1 administrator username is additionally enumerable via standard WordPress user enumeration techniques.
Impact: Full administrative access to the WordPress site, likely leading to remote code execution through plugin/theme editing or user management.
What to do 1. Review the NVD entry and Wordfence advisory for CVE-2026-110811 and confirm whether a patched version is available. 2. If a patched version exists, update the Trust Payments Gateway for WooCommerce plugin immediately; if no patched version is available, disable the plugin until a fix is released. 3. Audit existing WordPress users for unknown admin accounts and check for unexpected logins associated with the thank-you page flow. 4. Rotate credentials for user ID 1 and any other admin accounts as a precaution. 5. Monitor order metadata and authentication logs for indicators of exploitation (e.g., tp_userid values that are not numeric). 6. Verify the vendor advisory before changing production if the patched version is not clearly identified.
References: NVD | Wordfence | Source L1880 | Source L303 | Source L308