CVE-2021-32789 Details
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
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| automattic woocommerce blocks | >= 2.5.0, < 2.5.16 >= 2.6.0, < 2.6.2 >= 2.7.0, < 2.7.2 >= 2.8.0, < 2.8.1 >= 2.9.0, < 2.9.1 >= 3.0.0, < 3.0.1 >= 3.1.0, < 3.1.1 >= 3.2.0, < 3.2.1 >= 3.3.0, < 3.3.1 >= 3.4.0, < 3.4.1 >= 3.5.0, < 3.5.1 >= 3.6.0, < 3.6.1 >= 3.7.0, < 3.7.2 >= 3.8.0, < 3.8.1 >= 3.9.0, < 3.9.1 >= 4.0.0, < 4.0.1 >= 4.1.0, < 4.1.1 >= 4.2.0, < 4.2.1 >= 4.3.0, < 4.3.1 >= 4.4.0, < 4.4.3 >= 4.5.0, < 4.5.3 >= 4.6.0, < 4.6.1 >= 4.7.0, < 4.7.1 >= 4.8.0, < 4.8.1 >= 4.9.0, < 4.9.2 >= 5.0.0, < 5.0.1 >= 5.1.0, < 5.1.1 >= 5.2.0, < 5.2.1 >= 5.3.0, < 5.3.2 >= 5.4.0, < 5.4.1 >= 5.5.0, < 5.5.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 5, 2021 | Initial Analysis | [email protected] |