Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-50972 EUVD-2022-56008GHSA-c7rq-gwp2-958v

WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php

Published Jun 20, 2026 · Updated Jul 15, 2026 · Assigned by VulnCheck

Description

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

VendorProductAffectedFixed
WooCommerce WooCommerce 7.1.0 —

References