CVE-2023-28121: Authentication Bypass in WooCommerce Payments (CVE-2023-28121)
- Vendor
- Automattic
CVE-2023-28121 is a critical authentication bypass and privilege escalation vulnerability in the WooCommerce Payments plugin for WordPress (versions <= 5.6.1). The flaw allows an unauthenticated attacker to impersonate any user, including administrators, by sending a specially crafted HTTP header (X-WCPAY-PLATFORM-CHECKOUT-USER) with a user ID. This enables attackers to perform actions as privileged users, such as creating new administrator accounts via the REST API, leading to full site compromise.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Exploitation of this vulnerability allows remote, unauthenticated attackers to gain administrative access to affected WordPress sites. Attackers can create new administrator accounts, modify site content, install malicious plugins, exfiltrate data, and fully compromise the site. The vulnerability is highly critical due to the ease of exploitation and the potential for complete site takeover.
Mitigation
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, disable the WooCommerce Payments plugin until it can be updated. Monitor for suspicious administrator account creation and restrict access to the /wp-json/wp/v2/users API endpoint where feasible. Employ web application firewalls to detect and block malicious requests leveraging the X-WCPAY-PLATFORM-CHECKOUT-USER header.
Remediation
Patch, then assume compromise.
Upgrade the WooCommerce Payments plugin to version 5.6.2 or later, which removes the vulnerable code and mitigates the issue. Ensure all WordPress plugins are kept up to date and review administrator accounts for unauthorized additions.
Exploits
7 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-28121 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-28121?
- Yes. Mallory tracks 7 public exploits or proofs of concept for CVE-2023-28121, the earliest disclosed Mar 22, 2023.
- Is there a patch for CVE-2023-28121?
- Upgrade the WooCommerce Payments plugin to version 5.6.2 or later, which removes the vulnerable code and mitigates the issue. Ensure all WordPress plugins are kept up to date and review administrator accounts for unauthorized additions.
- What products are affected by CVE-2023-28121?
- Automattic Woocommerce Payments and Automattic Woopayments.
- How severe is CVE-2023-28121?
- CVE-2023-28121 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 87.4% (100th percentile) as of Oct 16, 2026.
Recent activity
1 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.