# CVE-2021-32789: Arbitrary SQL (SQL injection) possible via the Store API component.

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 17% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-07-26 · Modified: 2024-08-03
- Record: https://cvemate.com/vulnerability/CVE-2021-32789 · JSON: https://cvemate.com/vulnerability/CVE-2021-32789/json

## Description

```text
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.
```

## Signals

- CVSS: 8.8 high (v3.1, wordfence) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 17.227%, percentile 97.181%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- 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
- woocommerce woocommerce-gutenberg-products-block: \> 2.5.0, \< 2.5.16
- wordpress woo-gutenberg-products-block: ≤ 2.5.15 (fixed in 2.5.16) \| ≥ 2.6, ≤ 2.6.1 (fixed in 2.5.16) \| ≥ 2.7, ≤ 2.7.1 (fixed in 2.5.16) \| 2.8 (fixed in 2.5.16) \| 2.9 (fixed in 2.5.16) \| 3.0 (fixed in 2.5.16) \| 3.1 (fixed in 2.5.16) \| 3.2 (fixed in 2.5.16) \| 3.3 (fixed in 2.5.16) \| 3.4 (fixed in 2.5.16) \| 3.5 (fixed in 2.5.16) \| 3.6 (fixed in 2.5.16) \| ≥ 3.7, ≤ 3.7.1 (fixed in 2.5.16) \| 3.8 (fixed in 2.5.16) \| 3.9 (fixed in 2.5.16) \| 4.0 (fixed in 2.5.16) \| 4.1 (fixed in 2.5.16) \| 4.2 (fixed in 2.5.16) \| 4.3 (fixed in 2.5.16) \| ≥ 4.4, ≤ 4.4.2 (fixed in 2.5.16) \| ≥ 4.5, ≤ 4.5.2 (fixed in 2.5.16) \| 4.6 (fixed in 2.5.16) \| 4.7 (fixed in 2.5.16) \| 4.8 (fixed in 2.5.16) \| ≥ 4.9, ≤ 4.9.1 (fixed in 2.5.16) \| 5.0 (fixed in 2.5.16) \| 5.1 (fixed in 2.5.16) \| 5.2 (fixed in 2.5.16) \| ≥ 5.3, ≤ 5.3.1 (fixed in 2.5.16) \| 5.4 (fixed in 2.5.16) \| 5.5 (fixed in 2.5.16)

## References

- <https://github.com/woocommerce/woocommerce-gutenberg-products-block/security/advisories/GHSA-6hq4-w6wv-8wrp>
- <https://github.com/woocommerce/woocommerce-gutenberg-products-block-ghsa-6hq4-w6wv-8wrp/pull/1>
- <https://hackerone.com/reports/1260787>
- <https://woocommerce.com/posts/critical-vulnerability-detected-july-2021/>
- <https://wooengineering.wordpress.com/2021/07/14/incident-report-sql-injection-via-store-api/>
- <https://www.wordfence.com/threat-intel/vulnerabilities/id/a6d9d093-1e31-4d36-ac55-79cf82b231bb>

---

Data as of 2026-12-05T07:09:08.664Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
