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

6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2025-5062
CVSS 6.1 (Medium)
Publicly Published May 21, 2025
Last Updated December 3, 2025
Researcher Antonio Rocco Spataro

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.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for WooCommerce

Software Type Plugin
Software Slug woocommerce (view on wordpress.org)
Patched? Yes
Remediation Update to one of the following versions, or a newer patched version: 9.3.4, 9.4.3
Affected Versions
  • <= 9.3.2
  • 9.4 - 9.4.2
Patched Versions
  • 9.3.4
  • 9.4.3

Recent vulnerabilities in WooCommerce

# Title CVE ID CVSS Researchers Date
1 WooCommerce < 10.5.3 - Cross-Site Request Forgery CVE-2026-3589 4.3 oolongeya March 10, 2026
2 WooCommerce <= 10.4.2 - Authenticated (Subscriber+) Information Exposure CVE-2025-15033 4.3 Peter Stöckli, Man Yue Mo December 22, 2025
3 WooCommerce <= 10.0.2 - Authenticated (Shop manager+) Stored Cross-Site Scripting CVE-2025-49042 4.4 SavPhill (Savphill) October 29, 2025
4 WooCommerce <= 9.7.0 - Authenticated (Shop Manager+) Stored Cross-Site Scripting CVE-2025-26762 4.4 SavPhill (Savphill) March 12, 2025
5 WooCommerce <= 9.0.2 - Unauthenticated HTML Injection CVE-2024-9944 5.3 drop October 14, 2024
6 WooCommerce <= 9.1.2 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2024-39666 4.4 stealthcopter August 16, 2024
7 WooCommerce <= 8.9.2 - Authenticated (Shop Manager+) Content Injection CVE-2024-35777 2.7 SavPhill (Savphill) June 27, 2024
8 WooCommerce 8.8.0 - 8.9.2 - Reflected Cross-Site Scripting via Order Attribution CVE-2024-37297 6.1 June 10, 2024
9 WooCommerce <= 8.5.2 - Cross-Site Request Forgery CVE-2024-22155 4.3 Dhabaleshwar Das April 5, 2024
10 WooCommerce < 8.4.0 - Reflected Cross-Site Scripting 6.1 January 12, 2024

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation