Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessEnumerate admin username (user ID 1)
-
DeliveryStart checkout with Trust Payments gateway
-
ExploitSubmit new_username matching existing login
-
ExecutionComplete paid order triggering WP_Error meta
-
PersistVisit thank-you page setting auth cookie
-
ImpactOperate as site administrator
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the Trust Payments Gateway for WooCommerce (JavaScript Library) plugin (version ≤ 1.3.8) to be installed and the Trust Payments gateway active as a checkout method. The attacker must complete a genuine paid order on their own account during checkout and supply a new_username parameter that collides with an existing WordPress login (the user ID 1 administrator, which is enumerable via standard WordPress user enumeration), then load the resulting thank-you page. Limiting factors: a real completed paid transaction is needed (financial cost and traceability), the specific gateway must be deployed and active, and exploitation targets whichever account maps to ID 1 (site admin, or network super-admin on multisite). |
| Impact | This is a genuine high priority, not an inflated high-CVSS artifact. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) is corroborated by the description's mechanism: an unauthenticated checkout flow leads to wp_set_current_user(1)/wp_set_auth_cookie(1), yielding full takeover of WordPress user ID 1 (bootstrap administrator, or network super-admin on multisite) - C:H/I:H/A:H is justified. The vuln.today Decision label is act_now, and the flaw is reported by Wordfence, a credible source; the root cause is pinpointed to specific source lines in the 1.3.8 plugin code, so the mechanism is well understood rather than speculative. Signals that temper raw severity: no EPSS score is provided, the CVE is NOT listed in CISA KEV (no confirmed active exploitation), and no public working exploit is identified - the only references are the Wordfence advisory and the plugin source. There is also a real precondition the bare CVSS vector does not capture: the attacker must complete a genuine paid order on their own account with the Trust Payments gateway active, which adds friction and a financial/traceability cost. Net: treat as act_now per the decision framework given full-admin impact and unauthenticated network reachability, while noting exploitation is conditional on the gateway being deployed and a paid transaction being completed, suggesting opportunistic rather than mass-automatable abuse. |
| Exploit ScenarioDerived | An unauthenticated attacker places a real paid order through a WooCommerce store whose Trust Payments gateway is active, supplying a new_username value equal to an existing login such as the enumerable administrator (user ID 1). Because wp_create_user() returns a WP_Error on the username collision that is stored in the tp_userid order meta and later cast with (int) to 1, visiting the resulting thank-you page issues an authentication cookie for user ID 1, granting the attacker administrator access. No public working exploit is identified; the Wordfence advisory and the pinpointed plugin source lines document the flaw. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Trust Payments Gateway for WooCommerce (JavaScript Library) through 1.3.8 allows unauthenticated attackers to authenticate as WordPress user ID 1 by supplying a colliding new_username during checkout and then loading the thank-you page. The flaw is only reachable where the Trust Payments gateway is active and the attacker completes a paid order on their own account, after which the session belongs to the bootstrap administrator, or a network super-admin on multisite. The vuln.today decision label is act_now; no public exploit was identified at time of analysis, and exploitation is constrained by the need for a real completed transaction and a deployed, active gateway.
RemediationAI
No vendor-released patch was identified at time of analysis; the affected range is stated as all versions through 1.3.8. Until a fixed release is published, the mitigation supported by the described mechanism is to deactivate the Trust Payments Gateway for WooCommerce (JavaScript Library) plugin, or at minimum disable the Trust Payments gateway as an active checkout method, accepting that Trust Payments checkouts will be unavailable. Because exploitation requires a completed paid order plus a new_username collision, restricting checkout to trusted customers or blocking WordPress user enumeration reduces exposure but does not fix the authentication bypass and should not be relied on as a complete workaround. Monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/2f2d3fd0-f890-4a80-83ad-0212c1333980?source=cve) for a patched version.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The defect sits in the plugin's customer-creation flow. new_customer_account() calls wp_create_user() and writes its raw return value into the order's tp_userid post meta before the is_wp_error() check runs; when the supplied new_username matches an existing login, wp_create_user() returns a WP_Error object. add_customer_details_to_thankyou_page() later reads that meta and applies an (int) cast, which in PHP coerces an object to 1, so wp_set_current_user(1) and wp_set_auth_cookie(1) are called without further validation. This is an improper-authentication weakness (CWE-287) in the WordPress/WooCommerce PHP stack. The CPE identifies the affected component as trustpayments:trust_payments_gateway_for_woocommerce_(javascript_library). The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (9.8) reflects network reachability and no required privileges, but the operational gate is the paid-order prerequisite.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Unauthenticated remote checkout flow (PR:N/AV:N/UI:N) deterministically coerces WP_Error to user ID 1 for full admin takeover (C:H/I:H/A:H); username is enumerable so AC:L.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
A critical authentication bypass in the Trust Payments Gateway plugin for WooCommerce (versions through 1.3.8) allows an unauthenticated attacker to gain administrator-level access to the WordPress site by completing a paid checkout and tampering with a username field. This compromises the entire website and potentially any integrated business systems, putting customer data, payment information, and brand trust at severe risk. Leadership must act immediately to protect the organization's digital assets and regulatory compliance posture.
Disable the Trust Payments gateway plugin; restrict checkout to authenticated users; deploy WAF rules to block malicious requests; enforce MFA for all administrative accounts; monitor logs for anomalous activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-128838
GHSA-mq44-hm5c-4x5h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB