Cyber & AI intelligence
Briefs indexed3816
Issues37
Published Mondays07:30 CT
⚡ Active KEV CVE-2026-110811 2026-11-18

Trust Payments Gateway for WooCommerce Flaw Lets Unauthenticated Attackers Log In as Site Admin (CVE-2026-110811)

"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…"

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

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:

Sources