Skip to main content
COSMICBYTEZLABS
NewsSecurityHOWTOsToolsTraining
StudyProjectsNewsletterHire MeAbout
Subscribe

Press Enter to search or Esc to close

News
Security
HOWTOs
Tools
Training
Study
Projects
Newsletter
Hire Me
About
RSS Feed
Reading List
Subscribe

Stay in the Loop

Get the latest security alerts, tutorials, and tech insights delivered to your inbox.

Subscribe NowFree forever. No spam.
COSMICBYTEZLABS

Your trusted source for IT intelligence, cybersecurity insights, and hands-on technical guides.

2906+ Articles
167+ Guides

CONTENT

  • Latest News
  • Security Alerts
  • HOWTOs
  • Checklists
  • Projects
  • Exam Prep

RESOURCES

  • Search
  • Browse Tags
  • Newsletter Archive
  • Reading List
  • RSS Feed

COMPANY

  • About Us
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CosmicBytez Labs. All rights reserved.

System Status: Operational
  1. Home
  2. News
  3. New WordPress 'Click2Shell' Flaw Forces Theme Installs, Can Chain to Code Execution
New WordPress 'Click2Shell' Flaw Forces Theme Installs, Can Chain to Code Execution
NEWS

New WordPress 'Click2Shell' Flaw Forces Theme Installs, Can Chain to Code Execution

A URL-parsing mismatch lets one link silently install a WordPress theme for a logged-in admin, chainable to critical remote code execution.

Dylan H.

News Desk

September 18, 2026
3 min read

A Link WordPress and Your Browser Read Differently

WordPress has shipped version 7.1.1 to fix a set of core vulnerabilities, the headline of which security firm pwn.ai has dubbed "Click2Shell." The bug is a parsing discrepancy: two parts of WordPress interpret the same crafted link differently. The WordPress.org theme directory reads the value in the link as an ordinary theme name and hands back a real theme package. The administrator's own browser, however, reuses that same raw text — punctuation and all — inside code meant to pick out a specific item on the admin page.

The mismatch means a logged-in administrator who simply opens a malicious link triggers WordPress to automatically install a theme from the official WordPress.org directory in the background — no confirmation dialog, no second click. The installed theme stays inactive, so nothing changes visibly on the live site, leaving the admin with no obvious sign anything happened.


From Silent Install to Root Shell

On its own, the forced-install bug carries a CVSS score of 7.1 (high) — serious, but not yet code execution. pwn.ai demonstrated how to push it further by chaining it with a separate flaw in the "Mobile Repair Zone" theme: a background AJAX-style handler in that theme performs no permission validation before acting. By forcing the install of that specific vulnerable theme via Click2Shell and then hitting its unguarded handler, an attacker can escalate the chain to full remote code execution — CVSS 9.6 (critical).

No CVE identifier has been assigned to Click2Shell itself yet, though WordPress has indicated one is forthcoming.


Who's Exposed

Affected: WordPress core from version 6.0 up to the version immediately preceding the September 17, 2026 patch. The forced-install primitive requires only that an administrator (or any user with theme-install capability) click a crafted link — classic CSRF-adjacent exploitation, no plugin required.

Not affected once patched: Sites updated to 7.1.1 or the corresponding security release backported for supported branches back to 4.7.


Remediation

  1. Update to WordPress 7.1.1 or the matching security release for your branch immediately — there is no supported workaround short of patching.
  2. Audit installed themes for anything unrecognized, especially inactive themes nobody on the team remembers installing — a Click2Shell exploit attempt leaves exactly that kind of artifact.
  3. If Mobile Repair Zone is present anywhere in your environment, remove it or confirm it has been updated to a fixed version; it's the specific chain component pwn.ai used to reach code execution.
  4. As a general hardening measure, be cautious with links sent to logged-in WordPress administrator accounts — this bug is triggered purely by a page load, not a follow-up confirmation click.

Sources

  • The Hacker News — New WordPress Click2Shell Flaw Forces Theme Installs, Can Chain to Code Execution
#WordPress#CSRF#Remote Code Execution#Security Updates

Related Articles

CSRF-to-RCE File Upload Flaw in Gpx2Graphics Plugin

CVE-2026-81090 lets attackers trick a logged-in WordPress admin into uploading a PHP webshell through the Gpx2Graphics plugin.

3 min read

CVE-2026-18550: Nokri WordPress Theme Unauthenticated Account Takeover

A critical unauthenticated account-takeover flaw in the Nokri WordPress job board theme lets attackers reset any user's password, including admins.

4 min read

WordPress Jawn Theme Unauthenticated Privilege Escalation

CVE-2026-78477 allows unauthenticated attackers to escalate to WordPress administrator in Jawn theme versions up to 1.4.2, CVSS 9.8 critical.

5 min read
Back to all News