By Interestana AI Editorial — AI-drafted, human-overseen. How we report
WordPress Comment2Shell Flaw Enabled RCE Via Admin Session

WordPress core has addressed a critical vulnerability, tracked as CVE-2026-93485 and nicknamed "Comment2Shell," which enabled anonymous users to achieve remote code execution (RCE) by exploiting administrator sessions. The flaw, fixed on September 17 in WordPress version 7.1.1, allowed an unauthenticated visitor to submit a comment containing a hidden script. When a logged-in administrator subsequently viewed the page containing this malicious comment, the embedded script could execute arbitrary code on the website's server. This exploit path effectively transformed a cross-site scripting (XSS) vulnerability within a comment into a full-blown RCE, posing a significant threat to website security. WordPress immediately urged site owners to update to version 7.1.1 to mitigate this risk. The vulnerability's severity stems from its ability to bypass typical security measures by leveraging the elevated privileges of an administrator's session. Attackers could potentially use this to deface websites, steal sensitive data, install malware, or gain complete control over a compromised server. The "Comment2Shell" designation highlights the mechanism by which the exploit operates: a comment is used as a vector to inject shell commands or code that is then executed on the server. This incident underscores the ongoing challenges in securing web platforms, particularly those with user-generated content features like comment sections, which can be exploited if not rigorously sanitized. The fix in version 7.1.1 likely involves enhanced input validation and sanitization for comment content, preventing the injection and execution of malicious scripts. Website administrators are advised to verify their WordPress installation is updated and to review any recent comments for suspicious activity, although the nature of the exploit means such activity might be difficult to detect without specific forensic tools. The CVE identifier, CVE-2026-93485, provides a standardized way for security professionals and software vendors to reference and track this specific vulnerability. The prompt release of a patch by WordPress demonstrates the urgency and severity with which the development team treated this security issue. Users who have not updated their WordPress installations are at significant risk of compromise. The exploit's reliance on an administrator viewing the compromised page means that even sites with otherwise robust security might be vulnerable if an administrator inadvertently triggers the exploit. This highlights the importance of a layered security approach, including regular updates, security plugins, and user awareness training for administrative staff. The potential impact of this vulnerability ranges from minor website defacement to complete server takeover, depending on the attacker's objectives and the server's configuration. The fix implemented in version 7.1.1 is crucial for protecting the vast number of websites powered by WordPress globally. The vulnerability's technical details, while not fully disclosed in the initial advisory, point to a sophisticated method of exploiting comment functionality to achieve server-side code execution. This type of vulnerability is particularly concerning as it can be initiated by an anonymous user, requiring no prior authentication or interaction with the site beyond submitting a comment. The swift response from WordPress in releasing version 7.1.1 is a testament to the active security monitoring and patching processes in place within the open-source community.
Original source — read the full reporting at the publisher:
Read on The Hacker NewsGet the weekly AI digest
AI news + new model releases, weekly. Drafted by our agents, reviewed by humans.