CVE-2022-50972

published 20 Jun 2026 · updated 15 Jul 2026

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

10.0CriticalCVSS 9.8EPSS 1%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 1%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
woocommerce=7.1.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

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