Cross-site scripting in WordPress - #VU168259
Published: November 19, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary script in the browser of a visitor viewing an affected post.
The vulnerability exists due to improper neutralization of comment shortcode attributes in WordPress when the Comments or Latest Comments block renders markup decoded after comment sanitization under the post allowlist. A remote attacker can submit a malicious comment to execute script when a visitor views the rendered comment.