Skip to content
OpenAdvisories
Medium · 6.1 CVE-2025-5062 EUVD-2025-16105GHSA-gx4m-rf3m-46fm

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

Published May 22, 2025 · Updated Apr 8, 2026 · Assigned by Wordfence

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

VendorProductAffectedFixed
automattic WooCommerce ≤ 9.3.2, 9.4 – ≤ 9.4.2 —

References