Home / woocommerce / woocommerce / CVE-2021-32790
CVE-2021-32790: is it exploited, and which versions of woocommerce are affected and fixed?
CVE-2021-32790 is a SQL injection vulnerability in woocommerce. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: woocommerce >= 3.3.0, < 3.3.6 (CVE record by GitHub_M). Fixed in 3.3.6, 3.4.8, 3.5.9, 3.6.6 and 2 more (NVD). Severity: Medium (4.9, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:56 UTC.
What is CVE-2021-32790?
Blind SQL Injection possible via Authenticated Web-hook Search API Endpoint
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 3.3.6. 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.
From the CVE record by GitHub_M, last updated August 3, 2024, 23:33 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| woocommerce | woocommerce | >= 3.3.0, < 3.3.6 |
As the CVE record by GitHub_M states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| woocommerce | woocommerce | from 3.3.0 before 3.3.6 | application |
| woocommerce | woocommerce | from 3.4.0 before 3.4.8 | application |
| woocommerce | woocommerce | from 3.5.0 before 3.5.9 | application |
| woocommerce | woocommerce | from 3.6.0 before 3.6.6 | application |
| woocommerce | woocommerce | from 3.7.0 before 3.7.2 | application |
| woocommerce | woocommerce | from 3.8.0 before 3.8.2 | application |
| woocommerce | woocommerce | from 3.9.0 before 3.9.4 | application |
| woocommerce | woocommerce | from 4.0.0 before 4.0.2 | application |
| woocommerce | woocommerce | from 4.1.0 before 4.1.2 | application |
| woocommerce | woocommerce | from 4.2.0 before 4.2.3 | application |
| woocommerce | woocommerce | from 4.3.0 before 4.3.4 | application |
| woocommerce | woocommerce | from 4.4.0 before 4.4.2 | application |
| woocommerce | woocommerce | from 4.5.0 before 4.5.3 | application |
| woocommerce | woocommerce | from 4.6.0 before 4.6.3 | application |
| woocommerce | woocommerce | from 4.7.0 before 4.7.2 | application |
| woocommerce | woocommerce | from 4.8.0 before 4.8.1 | application |
| woocommerce | woocommerce | from 4.9.0 before 4.9.3 | application |
| woocommerce | woocommerce | from 5.0.0 before 5.0.1 | application |
| woocommerce | woocommerce | from 5.1.0 before 5.1.1 | application |
| woocommerce | woocommerce | from 5.2.0 before 5.2.3 | application |
| woocommerce | woocommerce | from 5.3.0 before 5.3.1 | application |
| woocommerce | woocommerce | from 5.4.0 before 5.4.2 | application |
| woocommerce | woocommerce | from 5.5.0 before 5.5.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:53 UTC.
How severe is CVE-2021-32790?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 4.9 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N | NVD |
| Medium 4.0 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-32790 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 1.26% probability of exploitation activity in the next 30 days, percentile 70.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ x_refsource_MISC
- https://github.com/woocommerce/woocommerce/security/advisories/GHSA-7vx5-x39w-q24g x_refsource_CONFIRM
When was it published, and where is the official record?
- Reserved
- May 12, 2021
- Published
- July 26, 2021, 16:30 UTC
- CVE record updated
- August 3, 2024, 23:33 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 03:53 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:56 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect woocommerce?
- Jun 20, 2026CVE-2022-50972 WooCommerce: code injection (remote code execution)
- Jun 12, 2024CVE-2024-37297 woocommerce: cross-site scripting (XSS)
- Apr 15, 2024CVE-2024-1310 WooCommerce: improper access control
- Jan 16, 2024CVE-2022-0775 WooCommerce: incorrect authorization
- Jul 17, 2022CVE-2022-2099 WooCommerce: improper output encoding
- Dec 27, 2020CVE-2020-29156 Woocommerce: authorization bypass through a user-controlled key (IDOR)
- Jun 19, 2020CVE-2019-20891 Woocommerce: cross-site request forgery (CSRF)
- Feb 26, 2019CVE-2019-9168 Woocommerce: cross-site scripting (XSS)
Questions about CVE-2021-32790
Is CVE-2021-32790 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 1.26% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of woocommerce are affected by CVE-2021-32790?
woocommerce >= 3.3.0, < 3.3.6, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2021-32790?
3.3.6, 3.4.8, 3.5.9, 3.6.6, 3.7.2 and 3.8.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-32790?
Medium (4.9, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2021-32790?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.