Cross-site scripting in WordPress - #VU158605
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary JavaScript in the browsers of users viewing affected WordPress content.
The vulnerability exists due to missing output escaping in the labels of the Comments Pagination Next, Comments Pagination Previous and Post Navigation Link blocks when rendering post content. A remote user can use Contributor-level or higher permissions to store malicious script in these labels to execute JavaScript in the browsers of users viewing the affected content.