CVE-2025-5062 MEDIUM

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

Vendor Automattic
Product WooCommerce
Weakness CWE-79 · XSS
Published May 22, 2025
Last update April 8, 2026

CVSS base score

6.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 22, 2025 CVE published
April 8, 2026 Record updated

Related vulnerabilities

04Related CVE