Cross-site scripting in WordPress - #VU168266
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary script in an Editor's or Administrator's browser session.
The vulnerability exists due to improper neutralization of media filenames in the WordPress block editor when converting an Image, Audio, or Video block to a File block and using the filename from the media URL as formatted text. A remote user can save a post containing attacker-controlled media data to trigger stored cross-site scripting if an Editor or Administrator converts the affected block.