Cybersecurity news

Jessica Doner

Back to the list

Click2Shell WordPress Flaw Lets Hackers Execute PHP Code and Take Over Websites

GBHackers,

A WordPress flaw lets attackers run code on sites by tricking an administrator into clicking a crafted link.

Vulnerabilities and patchesNetworks and the web

Overview

A security flaw in WordPress called Click2Shell allows attackers to run harmful code on websites by tricking a logged-in administrator into clicking a specific link. This issue affects organizations using WordPress versions prior to 7.1.1, which was released on September 17, 2026, to fix the problem. The vulnerability works by exploiting the theme-preview feature to silently install a theme from the official WordPress.org directory without the administrator manually clicking the install button. Because the installed theme remains inactive, the website looks normal, making it difficult for the administrator to notice the unauthorized change. Researchers at PWNAI reported that this forced installation can lead to a complete compromise of the site when combined with another vulnerability in a susceptible theme. WordPress identified this bug as one of 11 security fixes in the 7.1.1 maintenance and security release.

Terms in this story

Hackers
A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
PHP
A widely used server-side scripting language that builds dynamic web pages before sending them to browsers. Because millions of websites and content management systems run on PHP, a newly discovered vulnerability in the PHP engine can put a huge portion of the web at risk.
exploits
A piece of code or technique that uses a software flaw to break into or crash a system. Finding a vulnerability is only the discovery of a weakness, whereas an exploit is the working code or sequence of inputs that triggers that weakness in practice. Security+ objective 2.4 lists the term
URLs
The full web address used to locate a specific page, file, or resource on the internet. Security filters inspect every URL in an incoming message to see whether the domain name is a newly registered lookalike or points to a known credential-harvesting server. Security+ objective 4.5 lists the term
CVE identifier
The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
API
A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
server
A computer or program on a network that stores data and responds to requests from client devices. Online stores, email systems, and multiplayer games all run on servers in data centers or the cloud, making unpatched servers a primary target for intruders.
JavaScript
The programming language that web browsers run to make web pages interactive, and that also runs on servers. Because every browser runs JavaScript automatically when loading a page, attackers use malicious JavaScript in cross-site scripting, fake browser updates, and compromised software packages.
authenticated
A person or account that has already signed in with valid credentials. Some vulnerabilities cannot be triggered by a stranger on the internet and instead require an authenticated user who already holds at least a basic account on the system.
session
An active logged-in period of communication between a user or device and a server. Once you log in to a website, the server tracks your session so you can click from page to page without retyping your password on every screen.
permissions
The specific rights granted to an account or app to read, write, or run files and services. When a mobile app or browser extension asks for broad permissions, such as reading every web page you visit, a malicious update can abuse those rights to steal passwords.
nonce
A random or non-repeating value used only once in a cryptographic protocol or login challenge. Encryption schemes and login handshakes include a fresh nonce on every message so an attacker cannot record a valid encrypted request and replay it later.

This page is a short description made for this site. The article itself, with its author's name and its own link, is on the GBHackers website. Cite the article, not this page.

Read the full article on GBHackers (opens in a new tab)

Course connections

Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related