Compare Products for WooCommerce <= 3.2.1 - Unauthenticated PHP Object Injection
Summary
| CVE | CVE-2024-12313 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-01-07 05:15:17 UTC |
| Updated | 2026-04-08 18:19:45 UTC |
| Description | The Compare Products for WooCommerce plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.2.1 via deserialization of untrusted input from the 'woo_compare_list' cookie. This makes it possible for unauthenticated attackers to inject a PHP Object. No known POP chain is present in the vulnerable software. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code. |
Risk And Classification
Primary CVSS: v3.1 8.1 HIGH from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.023310000 probability, percentile 0.848140000 (date 2026-04-08)
Problem Types: CWE-502 | CWE-502 CWE-502 Deserialization of Untrusted Data
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.1 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | A3rev | Compare Products For WooCommerce | affected 3.2.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/woocommerce-compare-products/trunk/classes/class-wc-c... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/changeset/3215166 | [email protected] | plugins.trac.wordpress.org | |
| www.wordfence.com/threat-intel/vulnerabilities/id/638e8e67-38b3-4fc4-bd77-8f268... | [email protected] | www.wordfence.com | |
| plugins.trac.wordpress.org/browser/woocommerce-compare-products/trunk/classes/class-wc-c... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/woocommerce-compare-products/trunk/classes/class-wc-c... | [email protected] | plugins.trac.wordpress.org | |
| plugins.trac.wordpress.org/browser/woocommerce-compare-products/trunk/classes/class-wc-c... | [email protected] | plugins.trac.wordpress.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Brian Sans-Souci (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2025-01-06T16:03:26.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.