PortGate

Advisories · WordPress

CVE-2023-28121 Critical CVSS 9.8 Actively exploited

WooCommerce Payments authentication bypass

Disclosed 2023 · Last reviewed 2 Dec 2026

An unauthenticated request could be treated as an administrator on sites with the vulnerable plugin active.

What happened

A header that the plugin expected only from a trusted callback was accepted from the public internet.

Affected and patched versions

Affected
WooCommerce Payments 4.8.0 through 5.6.1, with several patched points inside that span. 5.6.2 is the fix on the 5.6 line.
Patched
5.6.2 on the then-current line, and the patched builds of the older lines listed by Automattic.

How to check your server

Check

wp plugin list --name=woocommerce-payments

How to fix and harden

  1. Check the plugin version.
  2. Update to a patched build. Do not assume every version below 5.6.2 is unpatched: some older lines had their own fix. The plugin changelog is the source.
  3. Remove the plugin if you do not take payments with it.

Fix

wp plugin update woocommerce-payments

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON