Skip to content
DayZeroHub
Critical CVSS 9.8CVE-2026-110811

Trust Payments Gateway for WooCommerce (JavaScript Library) up to 1.3.8: Authentication Bypass (CVE-2026-110811)

trustpayments Trust Payments Gateway for WooCommerce (JavaScript Library)

Summary

The Trust Payments Gateway for WooCommerce (JavaScript Library) plugin for WordPress, in all versions up to and including 1.3.8, allows an unauthenticated attacker to log in as the user with ID 1. The source assigns it a CVSS 3.1 score of 9.8 and critical severity.

What happened

The vulnerability (CVE-2026-110811, CWE-287: improper authentication) is an authentication bypass. According to the description, the new_customer_account() function stores the value returned by wp_create_user() in the order metadata, including a WP_Error object when the username already exists, before checking whether it is an error. The function that builds the thank-you page then reads that value and casts it to an integer; PHP turns the object into 1, and the authentication session and cookie for the user with ID 1 are then set unconditionally. An unauthenticated attacker can thereby authenticate as that user — the site's initial administrator or, on multisite installations, a network super-admin — by supplying a username matching an existing account during checkout and visiting the resulting thank-you page.

Why it matters

Administrator access can give control over the affected WordPress site. The CVSS 3.1 score is 9.8 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, assigned by Wordfence as CNA) and the severity is critical. Exploitation requires the Trust Payments gateway to be active and the attacker to complete a paid order on their own account; in addition, the username of the ID 1 administrator can be found using standard WordPress user enumeration techniques. No active exploitation is recorded in CISA's KEV catalog, and the source provides no evidence that this was a zero-day.

Affected products and versions

Trust Payments Gateway for WooCommerce (JavaScript Library) (vendor: trustpayments), versions <= 1.3.8 (last affected version: 1.3.8).

ProductVersionsFixed in
trustpayments Trust Payments Gateway for WooCommerce (JavaScript Library)<= 1.3.8—

Action recommended by the source

The source does not state a fixed version or a vendor mitigation. Readers may consult the Wordfence entry and the plugin page in the WordPress repository for updates.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-287

Relevant change history

  1. Published

    Advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources