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

Wed, 15 Jul 2026 02:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:woocommerce:woocommerce:7.1.0:*:*:*:free:wordpress:*:*

Mon, 22 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sat, 20 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Woocommerce
Woocommerce woocommerce
Wordpress
Wordpress wordpress
Vendors & Products Woocommerce
Woocommerce woocommerce
Wordpress
Wordpress wordpress

Sat, 20 Jun 2026 14:00:00 +0000

Type Values Removed Values Added
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.
Title WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2026-06-20T13:37:00.161Z

Updated: 2026-07-15T01:24:47.794Z

Reserved: 2026-01-11T13:34:26.334Z

Link: CVE-2022-50972

cve-icon Vulnrichment

Updated: 2026-06-22T12:45:29.661Z

cve-icon NVD

No data.

cve-icon Redhat

No data.