CVE-2022-50972: Woocommerce
Critical severity, CVSS 9.8. EPSS: 1.1% chance of exploitation in the next 30 days.
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by injecting shell commands through the product-type parameter. Attackers can send requests to the class-wc-meta-box-product-images.php endpoint with unsanitized product-type values to write malicious PHP files to the web root.
Affected products
- Woocommerce Woocommerce: version 7.1.0 only
Published 2026-06-20. Last modified 2026-10-06.