Home

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.

PUBLISHED Reserved 2025-05-21 | Published 2025-05-22 | Updated 2026-04-08 | Assigner Wordfence




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

Problem types

CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

Default status
unaffected

Any version
affected

9.4 (semver)
affected

Timeline

2025-12-03:Vendor Notified
2025-05-21:Disclosed

Credits

Antonio Rocco Spataro finder

References

www.wordfence.com/...-eeb8-4134-8f3f-b411e56457f0?source=cve

github.com/...e/client/admin/client/customize-store/utils.js

developer.woocommerce.com/...oocommerce-9-3-4-available-now/

github.com/woocommerce/woocommerce/pull/53405/files

cve.org (CVE-2025-5062)

nvd.nist.gov (CVE-2025-5062)

Download JSON