CVE-2021-32789

published 26 Jul 2021 · updated 3 Aug 2024

Arbitrary SQL (SQL injection) possible via the Store API component.

9.0CriticalCVSS 7.5EPSS 17%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 17%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
woocommerce>2.5.0 <2.5.16

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-32789 severity on Zeptric[![CVE-2021-32789](https://zeptric.io/badge/cve/CVE-2021-32789.svg)](https://zeptric.io/cve/CVE-2021-32789)