CVE-2021-32789
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
Description
woocommerce-gutenberg-products-block is a feature plugin for WooCommerce Gutenberg Blocks. An SQL injection vulnerability impacts all WooCommerce sites running the WooCommerce Blocks feature plugin between version 2.5.0 and prior to version 2.5.16. Via a carefully crafted URL, an exploit can be executed against the `wc/store/products/collection-data?calculate_attribute_counts[][taxonomy]` endpoint that allows the execution of a read only sql query. There are patches for many versions of this package, starting with version 2.5.16. There are no known workarounds aside from upgrading.
Metrics
β
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 Severity and Vector Strings:
Vector:
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
| URL |
Source(s) |
Tag(s) |
|
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1
|
CVE, GitHub, Inc. |
Broken Link
|
|
https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp
|
CVE, GitHub, Inc. |
Patch
Third Party Advisory
|
|
https://hackerone.com/reports/1260787
|
CVE, GitHub, Inc. |
Permissions Required
|
|
https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
|
CVE, GitHub, Inc. |
Vendor Advisory
|
|
https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/
|
CVE, GitHub, Inc. |
Permissions Required
|
Change History
4 change records found show changes
CVE Modified by GitHub, Inc.
6/16/2026 11:53:37 PM
| Action |
Type |
Old Value |
New Value |
| Added |
Affected |
[{"vendor":"woocommerce","product":"woocommerce-gutenberg-products-block","versions":[{"version":"> 2.5.0, < 2.5.16","status":"affected"}]}]
|
CVE Modified by CVE
11/21/2024 1:07:44 AM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1
|
| Added |
Reference |
https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp
|
| Added |
Reference |
https://hackerone.com/reports/1260787
|
| Added |
Reference |
https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/
|
| Added |
Reference |
https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/
|
CVE Modified by GitHub, Inc.
5/14/2024 5:06:37 AM
| Action |
Type |
Old Value |
New Value |
Initial Analysis by NIST
8/05/2021 2:25:27 PM
| Action |
Type |
Old Value |
New Value |
| Added |
CVSS V3.1 |
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
| Added |
CVSS V2 |
NIST (AV:N/AC:L/Au:N/C:P/I:N/A:N)
|
| Added |
CWE |
NIST CWE-89
|
| Added |
CPE Configuration |
Record truncated, showing 2048 of 3909 characters.
View Entire Change Record
OR
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.5.0 up to (excluding) 2.5.16
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.6.0 up to (excluding) 2.6.2
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.7.0 up to (excluding) 2.7.2
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.8.0 up to (excluding) 2.8.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 2.9.0 up to (excluding) 2.9.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.0.0 up to (excluding) 3.0.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.1.0 up to (excluding) 3.1.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.2.0 up to (excluding) 3.2.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.3.0 up to (excluding) 3.3.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.4.0 up to (excluding) 3.4.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.5.0 up to (excluding) 3.5.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.6.0 up to (excluding) 3.6.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.7.0 up to (excluding) 3.7.2
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.8.0 up to (excluding) 3.8.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 3.9.0 up to (excluding) 3.9.1
*cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:* versions from (including) 4.0.0 up to (excluding) 4.0.1
*cpe:2.3:a:automattic:w
|
| Changed |
Reference Type |
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 No Types Assigned
|
https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1 Broken Link
|
| Changed |
Reference Type |
https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp No Types Assigned
|
https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp Patch, Third Party Advisory
|
| Changed |
Reference Type |
https://hackerone.com/reports/1260787 No Types Assigned
|
https://hackerone.com/reports/1260787 Permissions Required
|
| Changed |
Reference Type |
https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ No Types Assigned
|
https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/ Vendor Advisory
|
| Changed |
Reference Type |
https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ No Types Assigned
|
https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/ Permissions Required
|
Quick Info
CVE Dictionary Entry: CVE-2021-32789 NVD
Published Date: 07/26/2021 NVD
Last Modified: 06/16/2026
Source: GitHub, Inc.
|