Arbitrary SQL (SQL injection) possible via the Store API component.
No fixed version listed yet.Check the vendor advisory. References ↓
woocommerce · woocommerce-gutenberg-products-block
The woocommerce-gutenberg-products-block feature plugin for WooCommerce Blocks, in versions from 2.5.0 up to but not including 2.5.16, contains an SQL injection flaw in the Store API's collection-data endpoint (wc/store/products/collection-data, via the calculate_attribute_counts parameter). An unauthenticated remote attacker who can reach the site can craft a URL to run a read-only SQL query through this endpoint, with no user interaction required.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 3 days before it was disclosed. Public exploit code (PoC-in-GitHub) appeared 19 months after disclosure.
- First seen exploitedVulnCheck KEV evidence3 days before
- Disclosedday 0
- Public exploit codePoC-in-GitHub+19 mo
Affected versions and fixes
as published in the CVE recordwoocommerce woocommerce-gutenberg-products-block
Affected: > 2.5.0, < 2.5.16