CVE-2024-12313 HIGH

CVE-2024-12313: Compare Products for WooCommerce <= 3.2.1 - Unauthenticated PHP Object Injection

Vendor A3Rev
Product Compare Products for WooCommerce
Weakness CWE-502 · Unsafe deserialization
Published January 7, 2025
Last update April 8, 2026

CVSS base score

8.1/10
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

The Compare Products for WooCommerce plugin versions 3.2.1 and earlier contain a deserialization vulnerability that allows unauthenticated attackers to execute arbitrary code on the site. The vulnerability requires specific conditions to trigger but can lead to complete site compromise. Site administrators should update to a version newer than 3.2.1 immediately.

What an attacker can do

03Attacker Capabilities

Run arbitrary code on the site without authentication.

Potential impact on your site

04Site Impact

Complete compromise of the WordPress site, including data theft, malware installation, and loss of control.

Conditions required to exploit

05Prerequisites

Network access to the site; specific conditions must be met to trigger the vulnerability.

Key dates

06Disclosure timeline

January 7, 2025 CVE published
April 8, 2026 Record updated