CVE-2022-50972

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.
Configurations

No configuration.

History

20 Jun 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-20 14:16

Updated : 2026-06-22 18:40


NVD link : CVE-2022-50972

Mitre link : CVE-2022-50972

CVE.ORG link : CVE-2022-50972


JSON object : View

Products Affected

No product.

CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')