Reported vulnerability

WooCommerce < 5.5 - Authenticated Blind SQL Injection

Published 13 Jul 2021

Updated 22 Jan 2024

CVE-2021-32790

Compare your installed software with the affected versions below. Follow the source’s remediation guidance and test an available update after taking a backup. A database entry describes a reported issue; it does not establish whether a particular website has been compromised.

Does this affect my version?

Check your installed version against this advisory. This compares the report’s version ranges and does not scan your website.

WooCommerce

In WordPress, open Plugins > Installed Plugins and find the version shown beneath the plugin name.

Wordfence advisory

high · CVSS 8.8

Woocommerce is an open source eCommerce plugin for WordPress. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce plugin between version 3.3.0 and 5.5. Malicious actors (already) having admin access, or API keys to the WooCommerce site can exploit vulnerable endpoints of `/wp-json/wc/v3/webhooks`, `/wp-json/wc/v2/webhooks` and other webhook listing API. Read-only SQL queries can be executed using this exploit, while data will not be returned, by carefully crafting `search` parameter information can be disclosed using timing and related attacks. Version 3.3.6 is the earliest version of Woocommerce with a patch for this vulnerability. There are no known workarounds other than upgrading.

Severity vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

WooCommerce

Software
plugin · woocommerce
Affected versions
Start version unspecified, before 3.3; From 3.3, through 3.3.5; From 3.4, through 3.4.7; From 3.5, through 3.5.8; From 3.6, through 3.6.5; From 3.7, through 3.7.1; From 3.8, through 3.8.1; From 3.9, through 3.9.3; From 4.0, through 4.0.1; From 4.1, through 4.1.1; From 4.2, through 4.2.2; From 4.3, through 4.3.3; From 4.4, through 4.4.1; From 4.5, through 4.5.2; From 4.6, through 4.6.2; From 4.7, through 4.7.1; From 4.8, through 4.8; From 4.9, through 4.9.2; From 5.0, through 5.0; From 5.1, through 5.1; From 5.2, through 5.2.2; From 5.3, through 5.3; From 5.4, through 5.4.1; From 5.5, through 5.5
Fix availability
Fix available
Fixed versions
3.3.6, 3.4.8, 3.5.9, 3.6.6, 3.7.2, 3.8.2, 3.9.4, 4.0.2, 4.1.2, 4.2.3, 4.3.4, 4.4.2, 4.5.3, 4.6.3, 4.7.2, 4.8.1, 4.9.3, 5.0.1, 5.1.1, 5.2.3, 5.3.1, 5.4.2, 5.5.1, 5.5.2

Recommended action

Update to one of the following versions, or a newer patched version: 3.3.6, 3.4.8, 3.5.9, 3.6.6, 3.7.2, 3.8.2, 3.9.4, 4.0.2, 4.1.2, 4.2.3, 4.3.4, 4.4.2, 4.5.3, 4.6.3, 4.7.2, 4.8.1, 4.9.3, 5.0.1, 5.1.1, 5.2.3, 5.3.1, 5.4.2, 5.5.1, 5.5.2

Further references (1)
Data sources and licences

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

Read licence terms

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

Read licence terms

Source: Wordfence

Need help fixing this issue?

Get help checking your site, applying an available update and resolving any problems after updating.

Get help with this issue

Questions about this vulnerability

Which versions of WooCommerce are affected?

Wordfence lists these affected versions: Start version unspecified, before 3.3; From 3.3, through 3.3.5; From 3.4, through 3.4.7; From 3.5, through 3.5.8; From 3.6, through 3.6.5; From 3.7, through 3.7.1; From 3.8, through 3.8.1; From 3.9, through 3.9.3; From 4.0, through 4.0.1; From 4.1, through 4.1.1; From 4.2, through 4.2.2; From 4.3, through 4.3.3; From 4.4, through 4.4.1; From 4.5, through 4.5.2; From 4.6, through 4.6.2; From 4.7, through 4.7.1; From 4.8, through 4.8; From 4.9, through 4.9.2; From 5.0, through 5.0; From 5.1, through 5.1; From 5.2, through 5.2.2; From 5.3, through 5.3; From 5.4, through 5.4.1; From 5.5, through 5.5. Use the version checker above to compare your installed release with this report.

Is a fix available for WooCommerce?

Wordfence reports a fix for this issue in WooCommerce. It lists these fixed versions: 3.3.6, 3.4.8, 3.5.9, 3.6.6, 3.7.2, 3.8.2, 3.9.4, 4.0.2, 4.1.2, 4.2.3, 4.3.4, 4.4.2, 4.5.3, 4.6.3, 4.7.2, 4.8.1, 4.9.3, 5.0.1, 5.1.1, 5.2.3, 5.3.1, 5.4.2, 5.5.1, 5.5.2. Back up your website and test the recommended update before applying it to your live site.

Where can I find my installed plugin version?

In WordPress, open Plugins > Installed Plugins and find the version shown beneath the plugin name.

Does an affected version mean my website has been hacked?

An affected version means the installed release matches a vulnerability described in this report. It does not show whether anyone has exploited it on your website. The checker compares version numbers with stored reports; it does not inspect your website.

Accessibility settings

Adjust how this site looks and moves. Your choices are saved in this browser.