๐Ÿ” CVE Alert

CVE-2022-50972

CRITICAL 9.8

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

CVSS Score
9.8
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-94
Vendor woocommerce
Product woocommerce
Published Jun 20, 2026
Stay Ahead of the Next One

Get instant alerts for woocommerce woocommerce

Be the first to know when new critical vulnerabilities affecting woocommerce woocommerce are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Affected Versions

WooCommerce / WooCommerce
7.1.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
exploit-db.com: https://www.exploit-db.com/exploits/51156 wordpress.org: https://wordpress.org/plugins/woocommerce vulncheck.com: https://www.vulncheck.com/advisories/woocommerce-remote-code-execution-via-class-wc-meta-box-product-images-php

Credits

Milad Karimi