Skip to content
CVE PROGRAM SOURCE RECORD6.1 Medium

CVE-2025-5062

WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

automattic WooCommerce

Default version status: unaffected

  • 0 to ≤ 9.3.2affected
  • 9.4 to ≤ 9.4.2affected

References