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).
| Product | Versions | Fixed 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.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2f2d3fd0-f890-4a80-83ad-0212c1333980?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/trust-payments-gateway-3ds2/tags/1.3.8/classes/class-wc-tp-gateway.php#L303 — CVE Program
- https://plugins.trac.wordpress.org/browser/trust-payments-gateway-3ds2/tags/1.3.8/classes/class-wc-tp-gateway.php#L1880 — CVE Program
- https://plugins.trac.wordpress.org/browser/trust-payments-gateway-3ds2/tags/1.3.8/classes/class-wc-tp-gateway.php#L308 — CVE Program
Weaknesses (CWE): CWE-287
Relevant change history
Published
Advisory published.