Cross-site scripting in WordPress - #VU168263
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote privileged user to execute arbitrary script in another user's browser in the context of the WordPress site.
The vulnerability exists due to improper sanitization of option values in the WordPress Customizer when rendering draft previews before publication. A remote privileged user can save a draft containing script-bearing option values, even without the unfiltered_html capability, to execute script when another user opens the preview.