Security mailing lists by PureSourceCode

CVE-2021-32789

HIGH 7.5CVSS 3.1

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.

Published
26 Jul 2021
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-89
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 2.5.0, < 2.5.16 2.5.16
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 2.6.0, < 2.6.2 2.6.2
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 2.7.0, < 2.7.2 2.7.2
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 2.8.0, < 2.8.1 2.8.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 2.9.0, < 2.9.1 2.9.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.0.0, < 3.0.1 3.0.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.1.0, < 3.1.1 3.1.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.2.0, < 3.2.1 3.2.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.3.0, < 3.3.1 3.3.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.4.0, < 3.4.1 3.4.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.5.0, < 3.5.1 3.5.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.6.0, < 3.6.1 3.6.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.7.0, < 3.7.2 3.7.2
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.8.0, < 3.8.1 3.8.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 3.9.0, < 3.9.1 3.9.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.0.0, < 4.0.1 4.0.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.1.0, < 4.1.1 4.1.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.2.0, < 4.2.1 4.2.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.3.0, < 4.3.1 4.3.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.4.0, < 4.4.3 4.4.3
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.5.0, < 4.5.3 4.5.3
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.6.0, < 4.6.1 4.6.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.7.0, < 4.7.1 4.7.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.8.0, < 4.8.1 4.8.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 4.9.0, < 4.9.2 4.9.2
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 5.0.0, < 5.0.1 5.0.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 5.1.0, < 5.1.1 5.1.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 5.2.0, < 5.2.1 5.2.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 5.3.0, < 5.3.2 5.3.2
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 5.4.0, < 5.4.1 5.4.1
NVD automattic woocommerce_blocks
cpe:2.3:a:automattic:woocommerce_blocks:*:*:*:*:*:wordpress:*:*
>= 5.5.0, < 5.5.1 5.5.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 26 Jul 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.