CVE-2025-5062

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
22/05/2025
Last modified:
30/09/2025

Description

The WooCommerce plugin for WordPress is vulnerable to PostMessage-Based Cross-Site Scripting via the 'customize-store' page in all versions up to, and including, 9.4.2 due to insufficient input sanitization and output escaping on PostMessage data. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:free:wordpress:*:* 9.3.4 (excluding)
cpe:2.3:a:woocommerce:woocommerce:*:*:*:*:free:wordpress:*:* 9.4.0 (including) 9.4.3 (excluding)