CVE-2025-5062: WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-5062?
CVE-2025-5062 is classified as a high severity vulnerability due to its potential for Cross-Site Scripting attacks.
How do I fix CVE-2025-5062?
To fix CVE-2025-5062, update the WooCommerce plugin to version 9.4.3 or later.
What causes CVE-2025-5062?
CVE-2025-5062 is caused by insufficient input sanitization and output escaping on PostMessage data in the WooCommerce plugin.
Who is affected by CVE-2025-5062?
All users of WooCommerce versions up to and including 9.4.2 are affected by CVE-2025-5062.
What is the impact of CVE-2025-5062?
The impact of CVE-2025-5062 allows attackers to execute arbitrary JavaScript in the context of the user’s session through Cross-Site Scripting.