CVE-2025-5062
JSON

6.1medium

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

Severity
6.1medium CVSS:3.1 by Wordfence
Exploit likelihood
0.70% (higher than 49% of CVEs)
Published
Last changed
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

Product or packageVersionsReported by
automattic WooCommerceup to 9.3.2, from 9.4 up to 9.4.2CVE List
woocommerce woocommercebefore 9.3.4, from 9.4.0 before 9.4.3NVD

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El complemento WooCommerce para WordPress es vulnerable a Cross-Site Scripting basadas en PostMessage a través de la página "customize-store" en todas las versiones hasta la 9.4.2 incluida, debido a una depuración de entrada insuficiente y al escape de salida en los datos de PostMessage. Esto permite a atacantes no autenticados inyectar scripts web arbitrarios en páginas que se ejecutan si logran engañar al usuario para que realice una acción, como hacer clic en un enlace.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-5062 changed 2026-04-08CVE Terms of Use
NVDCVE-2025-5062 changed 2026-06-17Public domain