WooCommerce <= 6.2.0 - Incorrect Authorization Checks on REST API Endpoints
Strategic Overview
- Status
- Patched in 6.2.1
- Affected Plugin
- WooCommerce
- Affected Version
<= 6.2.0- CVSS
- 5.4Medium
- Weakness type
- CWE-285 · Improper Authorization
- CVE
CVE-2022-0775
At a glance
CVE-2022-0775 is a medium-severity Improper Authorization vulnerability in the WooCommerce WordPress plugin, affecting versions <= 6.2.0. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). The issue is fixed in version 6.2.1; sites on affected versions should update now. Disclosed February 2022, reported by Krzysztof Zając.
Vulnerability Overview
The WooCommerce plugin for WordPress is vulnerable to authorization bypass due to an insufficient capability check on the /wc/v2/products/ REST API in versions up to, and including, 6.2.0. This makes it possible for authenticated attackers with minimal permissions such as a subscriber to delete, edit, and read arbitrary comments and reviews.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-285: Improper Authorization
Reaching this weakness in WooCommerce <= 6.2.0 takes a caller who can reach the endpoint. Improper authorization means a permission check exists but does not cover the case being exercised, so a caller who is allowed to do one thing is allowed to do a neighbouring thing as well.
A lower-privileged account performs an action reserved for a higher one, which on a multi-author or membership site means an ordinary user reaching administrative behaviour. For WooCommerce the fix is 6.2.1: builds <= 6.2.0 are affected, anything from 6.2.1 onward is not.
Remediation
Update to version 6.2.1, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: WooCommerce 6.2.1 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Other vulnerabilities in WooCommerce
- 8.8CVE-2021-32790: WooCommerce < 5.5 Blind SQL Injection
CVE-2021-32790 - 8.8WooCommerce <= 4.0.4 Unauthorized Post Meta Creation/Modification
- 8.8WooCommerce <= 3.6.4 CSRF to Stored Cross-Site Scripting
- 8.8CVE-2017-18356: WooCommerce <= 3.2.3 PHP Object Injection
CVE-2017-18356 - 7.5CVE-2026-48888: WooCommerce < 11.1.0 Denial of Service
CVE-2026-48888 - 7.5WooCommerce <= 2.3.10 PHP Object Injection
- 7.3CVE-2014-6313: WooCommerce <= 2.2.2 Cross-Site Scripting
CVE-2014-6313 - 7.2WooCommerce <= 6.2.0 Path Traversal via Tax Importer
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C