Executive Summary
WordPress versions 4.7 through 7.1 are vulnerable to a zero-click, unauthenticated stored XSS flaw (CVE-2026-93485) dubbed 'Comment2Shell'. The vulnerability resides in the formatting chain of the `comment_text` filter, specifically an improper regex in the `wpautop()` function that fails to handle newlines within allowed HTML attributes like `blockquote[cite]`. This allows an attacker to inject malicious JavaScript handlers that execute automatically when the comment is rendered on sites using block themes or specific classic theme configurations.
The business impact is severe: if a site administrator views a page containing the malicious comment, the XSS payload can leverage the admin's session to upload a malicious plugin, achieving full Remote Code Execution (RCE) and server takeover. While WordPress 7.1.1 has released patches backported to version 4.7, the default configuration for comment moderation does not effectively mitigate this risk because moderation settings can be bypassed using existing approved identities or by targeting the unapproved comment preview functionality.
