Hackers Actively Exploiting WordPress Vulnerability to Execute Malicious Code
Hackers are using a flaw in older WordPress versions to install malicious code, a problem fixed in the latest software updates.
Overview
HackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher are actively using a critical flaw in WordPress to run malicious codeSoftware built to steal data, spy on users, lock files, or take control of a computer on vulnerable serversA computer or program on a network that stores data and responds to requests from client devices. The vulnerabilityA flaw in software or hardware that lets an attacker do something the maker did not intend, known as CVEThe public tracking code assigned to a specific known security flaw in software or hardware-2026-87902, affects WordPress Core versions 4.7.0 through 7.1.1 and was fixed in version 7.1.2. Attackers exploit an unauthenticatedDone without logging in or holding a valid account on the target system local file inclusion issue in the get_page_template() function to bypass path validationChecking that data sent by a user matches the expected format and size before using it. They use this to force the system to load local PHPA widely used server-side scripting language that builds dynamic web pages before sending them to browsers files outside the intended template path. This allows them to create malicious files in temporary directories, which can lead to remote code executionA flaw that lets an attacker run their own code on someone else's computer over a network. Organizations running these vulnerable versions should treat this activity as a potential compromise.
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.
- Malicious Code
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
- servers
- 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.
- Vulnerability
- A flaw in software or hardware that lets an attacker do something the maker did not intend. Security advisories report a vulnerability when researchers or attackers find a coding mistake in an app or server that allows someone to break in or crash it. Security+ objective 2.3 lists the term
- CVE
- 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
- unauthenticated
- Done without logging in or holding a valid account on the target system. An unauthenticated flaw is especially urgent in the news because any stranger on the internet can trigger it without needing a username or password first.
- validation
- Checking that data sent by a user matches the expected format and size before using it. Many injection and overflow vulnerabilities happen because a program skips input validation and trusts whatever string or file size an outside user sends. Security+ objective 4.1 lists the term
- 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.
- remote code execution
- A flaw that lets an attacker run their own code on someone else's computer over a network. This is one of the most dangerous bug classes in the news because an attacker across the internet can send a crafted request and take control of a server.
- code execution
- A flaw that lets an attacker run any commands or program they choose on the target machine. When an advisory warns that a bug allows arbitrary code execution, an attacker who triggers the flaw can install malware, read files, or take over the program's account.
- reconnaissance
- The scouting phase where an attacker gathers details about a target's servers, software, and staff before striking. Before attempting a break-in, an intruder performs reconnaissance by scanning public IP addresses, reading job postings to see what software a company uses, and collecting employee email addresses. Security+ objective 5.5 lists the term
- exploitation
- 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
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 Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (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.
- Kind of story: Vulnerability and patch
"...critical WordPress vulnerability CVE-2026-87902 is being actively exploited..." Found by reading the article; these exact words are in it - Who is affected: "WordPress Core versions 4.7.0 through 7.1.1..."
Copied word for word from the article - Security+ 2.3 Explain various types of vulnerabilities.
"Hackers Actively Exploiting WordPress Vulnerability to Execute Malicious Code..." Found in the headline - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"Hackers Actively Exploiting WordPress Vulnerability to Execute Malicious Code..." Found in the headline - Security+ 4.3 Explain various activities associated with vulnerability management.
"The critical WordPress vulnerability CVE-2026-87902 is being actively exploited, with activity..." Found in the opening sentences - Security+ 5.5 Explain types and purposes of audits and assessments.
"......being actively exploited, with activity progressing from reconnaissance to attempts to write malicious PHP files..." Found in the opening sentences - CYBR 101 week 10: the web, cookies, phishing, incident response and logs
"Hackers Actively Exploiting WordPress Vulnerability to Execute Malicious Code..." Found in the headline - CYBR 101 week 11: penetration testing, OSINT, MITRE ATT&CK and hacking back
"......being actively exploited, with activity progressing from reconnaissance to attempts to write malicious PHP files..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Hackers Actively Exploiting WordPress Vulnerability to Execute Malicious Code..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Identify threat vulnerabilities.
"Hackers Actively Exploiting WordPress Vulnerability..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- U.S. CISA adds WordPress flaw to its Known Exploited Vulnerabilities catalog
- WordPress patches a critical severity security vulnerability
- Attackers Exploit WordPress CVE-2026-87902 Within Hours of Disclosure
- CVE-2026-87902 in WordPress Enables Conditional RCE
- Critical WordPress Flaw Lets Unauthenticated Attackers Execute Remote Code
- WordPress 7.1.2 fixes critical unauthenticated path traversal vulnerability (CVE-2026-87902)
- CVE-2026-87902: how close is your WordPress to remote code execution?
- Critical WordPress Core Vulnerability Lets Attackers Execute Code Without Logging In