CVE-2025-5062: WooCommerce <= 9.4.2 - PostMessage-Based Cross-Site Scripting

Published May 22, 2025
·
Updated

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

3 affected components
Automattic WooCommerce<=9.4.2
WooCommerce WooCommerce WordPress<9.3.4
WooCommerce WooCommerce WordPress>=9.4.0<9.4.3

Event History

May 22, 2025
CVE Published
via MITRE·03:42 AM
Data Sourced
via MITRE·03:42 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

How do I fix CVE-2025-5062?

To fix CVE-2025-5062, update the WooCommerce plugin to version 9.4.3 or later.

3

What causes CVE-2025-5062?

CVE-2025-5062 is caused by insufficient input sanitization and output escaping on PostMessage data in the WooCommerce plugin.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203