Improper Encoding or Escaping of Output in WordPress - #VU159337
Published: November 4, 2026
Vulnerability details
The vulnerability allows a local privileged user to inject unintended markup into generated HTML.
The vulnerability exists due to improper neutralization of HTML comment-closing sequences in WP_HTML_Tag_Processor's set_modifiable_text() method when processing supplied comment text. A local privileged user can supply specially crafted strings containing abrupt-closing sequences to escape an HTML comment and inject markup, with exploitation requiring user interaction.
The advisory identifies no direct vulnerability in WordPress core or Gutenberg arising from this behavior.