CVE-2026-110811trustpayments Trust Payments Gateway for WooCommerce (JavaScript Library)
Authentication Bypass in Trust Payments Gateway for WooCommerce
Critical 9.8 No auth needed
- Priority
- 79
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Nov 18, 2026
- Updated
- Nov 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The Trust Payments Gateway for WooCommerce plugin for WordPress is vulnerable to authentication bypass in all versions up to 1.3.8. An unauthenticated attacker can authenticate as the administrator (user ID 1) by completing a paid order with an existing username and visiting the thank-you page. The vulnerability occurs because a WP_Error object is cast to integer 1, allowing unconditional authentication as the site administrator.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
What to do
No patch data
Update the Trust Payments Gateway for WooCommerce plugin to a version newer than 1.3.8 when available. In the meantime, disable the Trust Payments gateway or restrict access to checkout.
Vendor advisory · www.wordfence.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for Trust Payments Gateway for WooCommerce (JavaScript Library).
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- trustpayments · Trust Payments Gateway for WooCommerce (JavaScript Library)
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
On social media
1 person and 1 post on Bluesky in the last 30 days.
Most recent posts, without bots or automated feeds. The text belongs to its authors. Search on Bluesky
Official sources
References
Links published by the sources. Open them with care.