CVE-2022-50972
published critical CVSS 4.0 · 9.3WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| WooCommerce | — | WooCommerce7.1.0 · Other versions: unaffected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WooCommerce | WooCommerce | 7.1.0 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
3- Official Product Homepage https://wordpress.org/plugins/woocommerce
- ExploitDB-51156 https://www.exploit-db.com/exploits/51156
- VulnCheck Advisory: WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php https://www.vulncheck.com/advisories/woocommerce-remote-code-execution-via-class-wc-meta-box-product-images-php
Provider assertions
2VulnCheck · cna
WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a89837dc8e17dd7434833a2cc997c72d91a58d250a94425bcfefa81a8c7e0e0d
- Ingested
- 23 Sep 2026, 08:04:58 UTC
- Source record
- Official CVE record