Cross-site scripting in WordPress - #VU158606
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary JavaScript in an administrator's browser within the WordPress Customizer preview.
The vulnerability exists due to improper neutralization of stored markup in WordPress Customizer selective refresh when rendering post content as HTML. A remote user can store specially crafted markup in post content to execute arbitrary JavaScript when an administrator previews the content in the Customizer.