Back to Feed
VulnerabilitiesSep 22, 2026

WordPress Comment2Shell Flaw Can Turn Anonymous Comment XSS Into RCE via Admin Session

WordPress Comment2Shell flaw allows anonymous comment XSS to RCE via admin session.

A vulnerability in WordPress core, dubbed 'Comment2Shell' (CVE-2026-93485), allowed anonymous users to inject malicious scripts via comments. If an administrator later viewed the page, the script could execute, enabling an attacker to upload a webshell and gain server control. WordPress released version 7.1.1 to fix the flaw, affecting versions from 4.7 to 7.1.

AI summary of the linked source. Not reviewed by an editor. How this works

Vendor Watch

Run WordPress?

Get an email when a new story names WordPress, usually within the hour.

Free. Your list stays private and never appears in a subject line. One click stops it. How Vendor Watch worksPrivacy

The lesson from this incident

Full lesson

CVE-2026-93485 ('Comment2Shell') exposed a critical chained attack path where unauthenticated users could inject malicious JavaScript into WordPress comments, which then executed silently when a privileged administrator viewed the affected page. This privilege escalation through stored XSS allowed attackers to upload a webshell and achieve full remote code execution on the underlying server — without ever needing credentials. The vulnerability highlights the compounding danger of unpatched CMS platforms combined with administrators routinely browsing their own sites while logged in with elevated privileges. Because the exploit requires no authentication, every unpatched WordPress installation exposed to the internet is a potential entry point for complete server compromise.

What helps against this

How we list vendors

Indicators of Compromise

Addresses and file hashes are copied from the publisher's page by pattern matching. Names are picked by AI. On stories from before 17 November 2026, some addresses and hashes were picked by AI too. Not reviewed by an editor. How this works

  • cve: CVE-2026-93485

Entities

WordPress (product)XSS (technology)RCE (technology)