{"id":7086342,"date":"2026-11-23T00:32:34","date_gmt":"2026-11-23T00:32:34","guid":{"rendered":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342"},"modified":"2026-11-23T00:32:34","modified_gmt":"2026-11-23T00:32:34","slug":"how-we-protected-wordpress-sites-from-wp2shell","status":"publish","type":"post","link":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342","title":{"rendered":"How we protected WordPress sites from WP2Shell"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<div wp_automatic_readability=\"311.34717698154\">\n<div id=\"thumbnail-image\" class=\"d-flex justify-content-center\">\n                            <img width=\"807\" height=\"454\" src=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection.png\" class=\"attachment-1110x454 size-1110x454 wp-post-image\" alt=\"How we protected WordPress sites from WP2Shell before it went public\" decoding=\"async\" fetchpriority=\"high\" srcset=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection.png 1973w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection-300x169.png 300w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection-1024x576.png 1024w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection-768x432.png 768w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection-1536x864.png 1536w\" sizes=\"(max-width: 807px) 100vw, 807px\"\/>                        <\/div>\n<p class=\"wp-block-paragraph\">WP2Shell was a critical vulnerability chain that could let an unauthenticated attacker take over a WordPress website. By the time its details went public in July 2026, every shared server in our infrastructure was already protected.<\/p>\n<p class=\"wp-block-paragraph\">That didn\u2019t happen by chance. Getting there required close coordination with the WordPress core security team and several rounds of testing. The hardest part was writing firewall rules that blocked attacks without breaking legitimate WordPress functionality. The simplest fix, blocking the vulnerable endpoint entirely, would have broken the block editor for every site.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Our Head of WordPress, <a data-click-id=\"hgr-post-content-link-marco-chiesi\" href=\"https:\/\/www.linkedin.com\/in\/marcochiesi\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">Marco Chiesi<\/a>, takes us behind the scenes of how we prepared and deployed protection against WP2Shell.<\/p>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-what-is-the-wp2shell-vulnerability-chain\"><span class=\"ez-toc-section\" id=\"What_is_the_WP2Shell_vulnerability_chain\"\/>What is the WP2Shell vulnerability chain?<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">WP2Shell chained two flaws in WordPress core:<\/p>\n<ul class=\"wp-block-list\">\n<li>A batch-route confusion flaw in the REST API (CVE-2026-63030).<\/li>\n<li>An SQL injection flaw in WP_Query (CVE-2026-60137).<\/li>\n<\/ul>\n<p class=\"wp-block-paragraph\">Together, they allowed attackers to create an administrator account, log in, and upload a malicious plugin. Neither flaw required a vulnerable plugin or special configuration to exploit. Even a default WordPress installation was exposed, with no existing account or login required.<\/p>\n<p class=\"wp-block-paragraph\">The severity scores show why looking at individual flaws doesn\u2019t tell the whole story.\u00a0<\/p>\n<figure class=\"wp-block-table\"\/>\n<p class=\"wp-block-paragraph\">CVSS measures the severity of individual vulnerabilities on a scale of 0 to 10, but it doesn\u2019t capture how flaws combine. For WordPress sites, factors such as authentication requirements, the number of affected installations, and active exploitation matter just as much.<\/p>\n<p class=\"wp-block-paragraph\">Sites running WordPress 6.9 or 7.0 were exposed to the full chain, while sites running WordPress 6.8 were affected by only one of the two flaws. Versions before 6.8 weren\u2019t affected.<\/p>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-every-patch-is-a-race-against-attackers\"><span class=\"ez-toc-section\" id=\"Every_patch_is_a_race_against_attackers\"\/>Every patch is a race against attackers\u00a0<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">WordPress enables automatic updates by default, helping websites receive critical security fixes without manual intervention. However, a global rollout still takes hours, and some websites don\u2019t receive automatic updates at all.<\/p>\n<p class=\"wp-block-paragraph\">At the same time, publishing a security patch can reveal how to exploit the vulnerability it fixes. By comparing the updated code with its previous version, attackers can identify what changed, pinpoint the vulnerability, and develop exploits targeting websites that haven\u2019t updated yet.<\/p>\n<p class=\"wp-block-paragraph\">The time-to-exploit window also keeps shrinking year by year, as <a data-click-id=\"hgr-post-content-link-mandiants-research\" href=\"https:\/\/cloud.google.com\/blog\/topics\/threat-intelligence\/time-to-exploit-trends-2023?hl=en\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">Mandiant\u2019s research<\/a> shows:<\/p>\n<ul class=\"wp-block-list\">\n<li><strong>2018\u20132019:<\/strong> 63 days<\/li>\n<li><strong>2020\u2013early 2021:<\/strong> 44 days<\/li>\n<li><strong>2021\u20132022:<\/strong> 32 days<\/li>\n<li><strong>2023:<\/strong> 5 days<\/li>\n<li><strong>2025:<\/strong> around \u22127 days, meaning exploits often appeared before patches were even released (<a data-click-id=\"hgr-post-content-link-m-trends-2026\" href=\"https:\/\/cloud.google.com\/blog\/topics\/threat-intelligence\/m-trends-2026?hl=en\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">M-Trends 2026<\/a>)<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{\" imageid\":\"6b037d5e5fec1\"}\"=\"\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b037d5e5fec1\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/diagram-of-the-time-to-exploit-software-1024x576.png\" alt=\"Bar chart of the average time to exploit software vulnerabilities, falling from 63 days in 2018\u20132019 to 44 days in 2020\u2013early 2021, 32 days in 2021\u20132022, 5 days in 2023, and \u22127 days in 2025, meaning exploits often arrived before the patch.\" class=\"wp-image-11226\" srcset=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/diagram-of-the-time-to-exploit-software-1024x576.png 1024w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/diagram-of-the-time-to-exploit-software-1536x864.png 1536w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/diagram-of-the-time-to-exploit-software-300x169.png 300w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/diagram-of-the-time-to-exploit-software-768x432.png 768w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/diagram-of-the-time-to-exploit-software.png 1973w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" data-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.thisImage.buttonRight\" data-wp-style--top=\"state.thisImage.buttonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"\/>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">The researcher who discovered the WP2Shell vulnerability chain, Adam Kues of Searchlight Cyber, used an AI model to <a data-click-id=\"hgr-post-content-link-identify-the-chain-in-about-10-hours\" href=\"https:\/\/www.slcyber.io\/research\/exploit-brokers-pay-500000-for-a-wordpress-rce-i-found-one-with-gpt5-6\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">identify the chain in about 10 hours<\/a>, incurring only about $25 in compute costs.<\/p>\n<p class=\"wp-block-paragraph\">\u201c[Finding a vulnerability like this] is within reach of practically everyone,\u201d Marco says. \u201cToday, with AI, the timelines have accelerated enormously.\u201d<\/p>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-the-layered-protection-that-keeps-wordpress-sites-safe\"><span class=\"ez-toc-section\" id=\"The_layered_protection_that_keeps_WordPress_sites_safe\"\/>The layered protection that keeps WordPress sites safe\u00a0<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">WordPress websites can still be protected at several layers. Marco compares it to an apartment building:<\/p>\n<ul class=\"wp-block-list\">\n<li>A CDN firewall is the bouncer at the end of the street, stopping attacks before they reach the server.<\/li>\n<li>A hosting provider\u2019s firewall is the doorman in the lobby, checking every request that arrives.\u00a0<\/li>\n<li>The security update is the locksmith who fixes the broken lock for good.<\/li>\n<\/ul>\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{\" imageid\":\"6b037d5e6218b\"}\"=\"\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b037d5e6218b\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wordpress-sites-protection-layers-1024x576.png\" alt=\"Diagram of three protection layers between an attack request and a WordPress site: a network firewall (the bouncer), server-level protection (the doorman), and the software update (the locksmith), which fixes the flaw for good.\" class=\"wp-image-11227\" srcset=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wordpress-sites-protection-layers-1024x576.png 1024w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wordpress-sites-protection-layers-300x169.png 300w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wordpress-sites-protection-layers-768x432.png 768w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wordpress-sites-protection-layers-1536x864.png 1536w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wordpress-sites-protection-layers.png 1973w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" data-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.thisImage.buttonRight\" data-wp-style--top=\"state.thisImage.buttonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"\/>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">The locksmith is the only permanent fix, but until it arrives, the doorman keeps the site safe. That\u2019s our role as a hosting provider. Every request to a website on our shared hosting passes through our servers first, so we can inspect it and block attacks before they reach WordPress.<\/p>\n<p class=\"wp-block-paragraph\">And because one firewall rule covers our entire shared hosting infrastructure, we can protect every website on it at once, without customers needing to do anything. For more, see <a data-click-id=\"hgr-post-content-link-how-we-keep-our-customers-websites-safe\" href=\"https:\/\/www.hostinger.com\/blog\/hostinger-security\/\" data-wpel-link=\"internal\" rel=\"follow\">how we keep our customers\u2019 websites safe<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">With WP2Shell, we deployed firewall rules while the details were still confidential, so websites were already protected when the patch was released.<\/p>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-how-we-got-ahead-of-the-wp2shell-public-disclosure\"><span class=\"ez-toc-section\" id=\"How_we_got_ahead_of_the_WP2Shell_public_disclosure\"\/>How we got ahead of the WP2Shell public disclosure<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">Protecting websites before a vulnerability goes public requires coordination that mostly happens behind the scenes. It depends on confidentiality and trust.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">The WordPress core security team shares only what a few companies need to prepare defenses, and keeps the group small on purpose: the more people who know about a vulnerability before the fix, the higher the risk of a leak. WP2Shell was no exception.<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{\" imageid\":\"6b037d5e6439b\"}\"=\"\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b037d5e6439b\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/network-behind-security-release-1024x576.png\" alt=\"Diagram of the network behind a WordPress security release: security researchers report flaws to the WordPress core security team, which fixes them and coordinates with hosting providers, CDNs and firewalls, and security companies.\" class=\"wp-image-11228\" srcset=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/network-behind-security-release-1024x576.png 1024w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/network-behind-security-release-300x169.png 300w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/network-behind-security-release-768x432.png 768w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/network-behind-security-release-1536x864.png 1536w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/network-behind-security-release.png 1973w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" data-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.thisImage.buttonRight\" data-wp-style--top=\"state.thisImage.buttonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"\/>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">The collaboration culminated in <a data-click-id=\"hgr-post-content-link-wordpress-7-0-2\" href=\"https:\/\/wordpress.org\/news\/2026\/07\/wordpress-7-0-2-release\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">WordPress 7.0.2<\/a>, the security release that addressed WP2Shell on July 17, 2026. Hostinger was among seven companies acknowledged in the release announcement, alongside Altis, Automattic, Bluehost, Cloudflare, GoDaddy, and WP Engine.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Getting into that small group isn\u2019t something a company can buy. \u201cIt\u2019s a matter of trust,\u201d Marco explains, \u201cand of relationships with members of the community, built over years of contributing and going to WordCamps.\u201d<\/p>\n<p class=\"wp-block-paragraph\">Once we received the confidential notice, our team moved quickly to deploy effective protection across the shared hosting infrastructure. Here\u2019s how the response unfolded:<\/p>\n<figure class=\"wp-block-table\">\n<table class=\"has-fixed-layout\">\n<tbody wp_automatic_readability=\"16\">\n<tr>\n<td><strong>Timeline<\/strong>\u00a0<\/td>\n<td><strong>What happened<\/strong><\/td>\n<\/tr>\n<tr wp_automatic_readability=\"6\">\n<td>Thursday, July 16 \u2013 Evening<\/td>\n<td>The WordPress core security team shared the initial vulnerability information and the first firewall rule. Our team immediately started preparing protection.<\/td>\n<\/tr>\n<tr wp_automatic_readability=\"5\">\n<td>Overnight into Friday<\/td>\n<td>We tested the first rule on a single server, then began rolling it out. Working with the WordPress core security team, we refined the rules through several versions.<\/td>\n<\/tr>\n<tr wp_automatic_readability=\"6\">\n<td>Friday, July 17 \u2013 Early afternoon<\/td>\n<td>Protection was in place across every shared server, hours before public disclosure.<\/td>\n<\/tr>\n<tr wp_automatic_readability=\"7\">\n<td>Friday, July 17 \u2013 Evening<\/td>\n<td>While attending Hostinger\u2019s Cowboy Extravaganza summer party in Lithuania, a handful of our team members continued coordinating with the WordPress core security team \u2013 in cowboy hats and boots.<\/td>\n<\/tr>\n<tr wp_automatic_readability=\"6\">\n<td>Friday, July 17 \u2013 18:45 UTC<\/td>\n<td>WordPress released version 7.0.2 and publicly disclosed the vulnerability details. Automatic updates began rolling out to affected websites.<\/td>\n<\/tr>\n<tr wp_automatic_readability=\"2\">\n<td>Saturday, July 18<\/td>\n<td>We followed up on websites that hadn\u2019t been reached by the automatic update process.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/figure>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-how-we-built-and-tested-the-firewall-rules\"><span class=\"ez-toc-section\" id=\"How_we_built_and_tested_the_firewall_rules\"\/>How we built and tested the firewall rules<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">Every rule risks blocking legitimate requests, and the WP2Shell rules took several rounds to get right.<\/p>\n<h3 class=\"wp-block-heading h-t-title-3\"><span class=\"ez-toc-section\" id=\"Four_firewall_rule_versions_in_about_22_hours\"\/>Four firewall rule versions in about 22 hours<span class=\"ez-toc-section-end\"\/><\/h3>\n<p class=\"wp-block-paragraph\">Between July 16 and 17, the firewall rules went through four versions. The first version, from the WordPress core security team, blocked malformed requests to the REST API batch endpoint, but only when accessed via the standard method.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Testing by hosts and researchers soon turned up other ways, and each new version closed more of them.<\/p>\n<p class=\"wp-block-paragraph\">The second widened the rule\u2019s coverage, the third split it into two rules with much stricter validation of the request path, and the fourth, shared just before the release, added protection against nested batch requests.<\/p>\n<h3 class=\"wp-block-heading h-t-title-3\"><span class=\"ez-toc-section\" id=\"A_problem_specific_to_our_stack\"\/>A problem specific to our stack<span class=\"ez-toc-section-end\"\/><\/h3>\n<p class=\"wp-block-paragraph\">The exploit could be sent as a JSON request body, which our web application firewall (WAF) didn\u2019t inspect at the time. Enabling that inspection surfaced a bug in a third-party component, which we reported to the vendor.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">So we wrote our own rules that inspect the raw request body directly. When the final rule set arrived, one of its rules would have undone that workaround, so we kept our version and adopted the rest.<\/p>\n<p class=\"wp-block-paragraph\">Not every part of our infrastructure could run the same rules. Where a firewall couldn\u2019t apply the precise rules, we used broader measures instead: blocking the entire batch endpoint at the CDN level in front of our own WordPress sites, or disabling the vulnerable routes with a small code snippet.<\/p>\n<h3 class=\"wp-block-heading h-t-title-3\"><span class=\"ez-toc-section\" id=\"Testing_before_every_rollout\"\/>Testing before every rollout<span class=\"ez-toc-section-end\"\/><\/h3>\n<p class=\"wp-block-paragraph\">Each version was first deployed to one production server, then to three servers across different data centers. The team watched the logs for about an hour before scaling up.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Test scripts shared by other hosts and community contributors sent both attack payloads, which had to be blocked, and normal requests, which had to pass.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">After the JSON workaround, for example, the suite reported 30 blocked attacks, 10 legitimate requests allowed, and 0 failures. From there, we rolled out data center by data center.<\/p>\n<p class=\"wp-block-paragraph\">Three things justified moving quickly: the scope was narrow (a single REST endpoint), normal requests in the test suites kept passing, and the alternative was exposing millions of sites to unauthenticated remote code execution.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">The WordPress core security team also held the release until hosts confirmed their firewall coverage, so the rules had to be live first.<\/p>\n<h3 class=\"wp-block-heading h-t-title-3\"><span class=\"ez-toc-section\" id=\"The_false_positive_we_didnt_see_coming\"\/>The false positive we didn\u2019t see coming<span class=\"ez-toc-section-end\"\/><\/h3>\n<p class=\"wp-block-paragraph\">One rule went too far. To support our JSON workaround, we added a nested-batch rule of our own, not part of the WordPress team\u2019s set. It turned out to block legitimate requests from WordPress\u2019s block-based Widget Editor, which saves widgets through the same batch endpoint.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">We had assumed the endpoint was rarely used in normal browsing, and we were partly wrong.<\/p>\n<p class=\"wp-block-paragraph\">Customers reported that saving widgets failed, and the tickets reached engineering about three weeks after the incident. Support unblocked affected sites with per-site exceptions while the team fixed the rule. We kept the rules active everywhere else, because many sites were still running vulnerable versions.<\/p>\n<h3 class=\"wp-block-heading h-t-title-3\"><span class=\"ez-toc-section\" id=\"Decisions_beyond_the_rules\"\/>Decisions beyond the rules<span class=\"ez-toc-section-end\"\/><\/h3>\n<p class=\"wp-block-paragraph\">Two other choices shaped the response. We didn\u2019t notify customers before the details were public, since an early warning could have tipped off attackers. WordPress.org chose to force updates for affected versions, accepting the risk that if an update broke something, it would break everywhere at once.<\/p>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-after-the-wp2shell-vulnerability-chain-became-public\"><span class=\"ez-toc-section\" id=\"After_the_WP2Shell_vulnerability_chain_became_public\"\/>After the WP2Shell vulnerability chain became public<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">WordPress published the vulnerability details at 18:45 UTC on July 17. Attackers moved fast. <a data-click-id=\"hgr-post-content-link-patchstack-recorded-the-first-attack-attempts\" href=\"https:\/\/patchstack.com\/articles\/ninety-minutes-watching-attackers-weaponize-the-wordpress-core-rce\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">Patchstack recorded the first attack attempts<\/a> about 90 minutes after WordPress released 7.0.2. By July 19, VulnCheck had verified <a data-click-id=\"hgr-post-content-link-more-than-two-dozen-proof-of-concept-exploits\" href=\"https:\/\/www.vulncheck.com\/blog\/wp2shell\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">more than two dozen proof-of-concept exploits<\/a>. On July 21, CISA added both vulnerabilities to its <a data-click-id=\"hgr-post-content-link-list-of-actively-exploited-vulnerabilities\" href=\"https:\/\/www.cisa.gov\/news-events\/alerts\/2026\/07\/21\/cisa-adds-four-known-exploited-vulnerabilities-catalog\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">list of actively exploited vulnerabilities<\/a>, and a fully working end-to-end exploit was published the next day.<\/p>\n<p class=\"wp-block-paragraph\">Security vendors counted the attacks they blocked:<\/p>\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{\" imageid\":\"6b037d5e67401\"}\"=\"\" data-wp-interactive=\"core\/image\" data-wp-key=\"6b037d5e67401\" class=\"aligncenter size-large wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wp2shell-attack-after-disclosure-1-1024x576.png\" alt=\"Timeline of WP2Shell attacks after disclosure: first attempts within 90 minutes on July 17, 24+ proof-of-concept exploits by July 19, CISA\u2019s active exploitation listing on July 21, and a public exploit on July 22. Monarx blocked 2M+ requests, Imunify360 29M+ attempts, and CrowdSec counted 62K attacking IPs.\" class=\"wp-image-11230\" srcset=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wp2shell-attack-after-disclosure-1-1024x576.png 1024w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wp2shell-attack-after-disclosure-1-300x169.png 300w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wp2shell-attack-after-disclosure-1-768x432.png 768w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wp2shell-attack-after-disclosure-1-1536x864.png 1536w, https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/wp2shell-attack-after-disclosure-1.png 1973w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"\/><button class=\"lightbox-trigger\" type=\"button\" aria-haspopup=\"dialog\" data-wp-bind--aria-label=\"state.thisImage.triggerButtonAriaLabel\" data-wp-init=\"callbacks.initTriggerButton\" data-wp-on--click=\"actions.showLightbox\" data-wp-style--right=\"state.thisImage.buttonRight\" data-wp-style--top=\"state.thisImage.buttonTop\"><br \/>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewbox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\"\/>\n\t\t\t<\/svg><br \/>\n\t\t<\/button><\/figure>\n<\/div>\n<p class=\"wp-block-paragraph\">For most Hostinger customers, though, nothing changed. Our firewall rules had been in place for hours before the first attacks arrived. As Marco puts it: \u201cMost of our customers, like those of most other hosts, didn\u2019t even notice anything, because everything had already been secured ahead of time.\u201d<\/p>\n<p class=\"wp-block-paragraph\">Protection didn\u2019t end with the firewall deployment. In the following days, our team monitored the situation, diagnosed websites that hadn\u2019t updated automatically, and helped bring them up to date.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">We sent targeted notifications to customers whose WordPress versions weren\u2019t automatically updated, briefed our Customer Success team, and updated our AI support assistant. This way, we made sure customers received clear, accurate answers when they asked for information about this vulnerability.<\/p>\n<p class=\"wp-block-paragraph\">Between August and October 2026, the same coordination happened five more times as WordPress released more security patches \u2013 7.0.3, 7.0.4, 7.1.1, 7.1.2, and 7.1.3. Each time, the WordPress core security team shared protective rules in advance, hosting providers deployed them, and the public patch followed.<\/p>\n<h2 class=\"wp-block-heading h-t-title-2\" id=\"h-keeping-wordpress-sites-secure-is-an-ongoing-shared-effort\"><span class=\"ez-toc-section\" id=\"Keeping_WordPress_sites_secure_is_an_ongoing_shared_effort\"\/>Keeping WordPress sites secure is an ongoing, shared effort<span class=\"ez-toc-section-end\"\/><\/h2>\n<p class=\"wp-block-paragraph\">For us, effective infrastructure security takes preparation, sound engineering judgment, and relationships built long before an incident happens.<\/p>\n<p class=\"wp-block-paragraph\">But hosting providers aren\u2019t the only ones with a role to play in keeping WordPress sites secure. Website owners can reduce their exposure by keeping <strong>automatic updates<\/strong> enabled, using <strong>additional firewall protection<\/strong> where needed, and <strong>watching for signs of compromise<\/strong>, such as unexpected administrator accounts or unfamiliar plugins.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Whoever discovers vulnerabilities should report them privately: WordPress core issues through the <a data-click-id=\"hgr-post-content-link-wordpress-hackerone-program\" href=\"https:\/\/hackerone.com\/wordpress\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">WordPress HackerOne program<\/a>, and plugin issues to the plugin\u2019s developer or the WordPress.org Plugins team.\u00a0<\/p>\n<p class=\"wp-block-paragraph\">Publishing vulnerability details before a fix is available hands attackers a head start on every site running the affected software. <a data-click-id=\"hgr-post-content-link-php2shell\" href=\"https:\/\/www.hostinger.com\/blog\/what-is-php2shell\/\" data-wpel-link=\"internal\" rel=\"follow\">PHP2Shell<\/a>, a pair of critical PHP vulnerabilities disclosed in October 2026, showed what that looks like. The CVE identifiers leaked on a public forum a day before the scheduled release, forcing the PHP team to rush out patches while proof-of-concept exploits were already circulating.<\/p>\n<p class=\"wp-block-paragraph\">Marco says, \u201cWhen security works, it doesn\u2019t make the news.\u201d There was no headline for the more than 4.5 million WordPress websites we host that weren\u2019t hacked, and that\u2019s exactly the standard we hold ourselves to.<\/p>\n<p class=\"wp-block-paragraph\">The rules took hours to deploy. The trust that made early preparation possible took years to build. We\u2019ll keep investing in both, so future WordPress security releases can go out just as quietly.<\/p>\n<div class=\"protip\" wp_automatic_readability=\"8.0061349693252\">\n<h4 class=\"title\"\/>\n<p>This article is based on Marco Chiesi&#8217;s talk, &#8220;WP2Shell e gli eroi invisibili di WordPress&#8221; (WP2Shell and the invisible heroes of WordPress) at <a data-click-id=\"hgr-post-content-link-wordcamp-pisa-2026\" href=\"https:\/\/pisa.wordcamp.org\/2026\/session\/wp2shell-e-gli-eroi-invisibili-di-wordpress\/\" target=\"_blank\" rel=\"noopener nofollow noreferrer\" data-wpel-link=\"external\">WordCamp Pisa 2026<\/a>.<\/p>\n<\/p><\/div>\n<div id=\"the-author-section\" class=\"col-12 bg-ghost-white\" wp_automatic_readability=\"7.4900662251656\">\n<div class=\"d-flex flex-column flex-sm-row ml-0 justify-content-center justify-content-sm-start\">\n<div class=\"author-avatar\">\n                          <img decoding=\"async\" src=\"https:\/\/imagedelivery.net\/LqiWLm-3MGbYHtFuUbcBtA\/wp-content\/uploads\/sites\/4\/2025\/08\/1690721884633.jpeg\/w=255,h=255,fit=scale-down\" class=\"border-radius-50p object-fit-cover\" alt=\"Author\"\/>\n                    <\/div>\n<div class=\"d-flex align-items-center justify-content-center justify-content-sm-end ms-sm-auto\">\n                    <a class=\"google-preferred-source\" href=\"https:\/\/www.google.com\/preferences\/source?q=hostinger.com\" data-click-id=\"hgr-article-add-google-as-prefered-source\" data-wpel-link=\"internal\" rel=\"follow\"><br \/>\n            <svg class=\"google-preferred-source__logo\" viewbox=\"0 0 48 48\" aria-hidden=\"true\" focusable=\"false\">\n                <path fill=\"#EA4335\" d=\"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z\"\/>\n                <path fill=\"#4285F4\" d=\"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z\"\/>\n                <path fill=\"#FBBC05\" d=\"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24s.92 7.54 2.56 10.78l7.97-6.19z\"\/>\n                <path fill=\"#34A853\" d=\"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z\"\/>\n            <\/svg><br \/>\n            <span class=\"google-preferred-source__label\"><br \/>\n                Add Hostinger as a preferred source on Google            <\/span><br \/>\n        <\/a>\n                <\/div>\n<\/p><\/div>\n<div class=\"description mt-15 mt-30-md\" wp_automatic_readability=\"12.709497206704\">\n<p class=\"text-center text-sm-start\">\n            Larassatti Dharma is a content writer with 5+ years of experience in the web hosting industry. She has populated the internet with over 100 YouTube scripts and articles around web hosting, digital marketing, and email marketing. When she&#8217;s not writing, Laras enjoys solo traveling around the globe or trying new recipes in her kitchen. Follow her on <a href=\"https:\/\/linkedin.com\/in\/larassattidn\/\" data-wpel-link=\"external\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">LinkedIn<\/a>        <\/p>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n\n","protected":false},"excerpt":{"rendered":"<p>WP2Shell was a critical vulnerability chain that could let an unauthenticated attacker take over a WordPress website. By the time its details went public in July 2026, every shared server in our infrastructure was already protected. That didn\u2019t happen by chance. Getting there required close coordination with the WordPress core security team and several rounds [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7086343,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[95],"tags":[3384,11405,18117,197851],"dealstore":[],"offerexpiration":[],"class_list":["post-7086342","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-internet-business","tag-protected","tag-sites","tag-wordpress","tag-wp2shell"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How we protected WordPress sites from WP2Shell - Som2ny Network<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How we protected WordPress sites from WP2Shell - Som2ny Network\" \/>\n<meta property=\"og:description\" content=\"WP2Shell was a critical vulnerability chain that could let an unauthenticated attacker take over a WordPress website. By the time its details went public in July 2026, every shared server in our infrastructure was already protected. That didn\u2019t happen by chance. Getting there required close coordination with the WordPress core security team and several rounds [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\" \/>\n<meta property=\"og:site_name\" content=\"Som2ny Network\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-23T00:32:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#article\",\"isPartOf\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e\"},\"headline\":\"How we protected WordPress sites from WP2Shell\",\"datePublished\":\"2026-11-23T00:32:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\"},\"wordCount\":2073,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#organization\"},\"image\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png\",\"keywords\":[\"Protected\",\"Sites\",\"wordpress\",\"wp2shell\"],\"articleSection\":[\"Internet Business\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\",\"name\":\"How we protected WordPress sites from WP2Shell - Som2ny Network\",\"isPartOf\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage\"},\"image\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage\"},\"thumbnailUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png\",\"datePublished\":\"2026-11-23T00:32:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png\",\"contentUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png\",\"width\":1973,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/accountants4yourbusiness.co.uk\/?bp_activities=1\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How we protected WordPress sites from WP2Shell\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#website\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/\",\"name\":\"Som2ny Network\",\"description\":\"Daily Deals\",\"publisher\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/accountants4yourbusiness.co.uk\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#organization\",\"name\":\"Som2ny Network\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"contentUrl\":\"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png\",\"width\":300,\"height\":86,\"caption\":\"Som2ny Network\"},\"image\":{\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/accountants4yourbusiness.co.uk\"],\"url\":\"https:\/\/accountants4yourbusiness.co.uk\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How we protected WordPress sites from WP2Shell - Som2ny Network","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342","og_locale":"en_US","og_type":"article","og_title":"How we protected WordPress sites from WP2Shell - Som2ny Network","og_description":"WP2Shell was a critical vulnerability chain that could let an unauthenticated attacker take over a WordPress website. By the time its details went public in July 2026, every shared server in our infrastructure was already protected. That didn\u2019t happen by chance. Getting there required close coordination with the WordPress core security team and several rounds [&hellip;]","og_url":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342","og_site_name":"Som2ny Network","article_published_time":"2026-11-23T00:32:34+00:00","og_image":[{"url":"https:\/\/www.hostinger.com\/blog\/wp-content\/uploads\/sites\/4\/2026\/11\/hostinger-wp2shell-protection.png","type":"","width":"","height":""}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#article","isPartOf":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342"},"author":{"name":"admin","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e"},"headline":"How we protected WordPress sites from WP2Shell","datePublished":"2026-11-23T00:32:34+00:00","mainEntityOfPage":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342"},"wordCount":2073,"commentCount":0,"publisher":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#organization"},"image":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage"},"thumbnailUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png","keywords":["Protected","Sites","wordpress","wp2shell"],"articleSection":["Internet Business"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#respond"]}]},{"@type":"WebPage","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342","url":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342","name":"How we protected WordPress sites from WP2Shell - Som2ny Network","isPartOf":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#website"},"primaryImageOfPage":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage"},"image":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage"},"thumbnailUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png","datePublished":"2026-11-23T00:32:34+00:00","breadcrumb":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/accountants4yourbusiness.co.uk\/?p=7086342"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#primaryimage","url":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png","contentUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/11\/hostinger-wp2shell-protection.png","width":1973,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/accountants4yourbusiness.co.uk\/?p=7086342#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/accountants4yourbusiness.co.uk\/?bp_activities=1"},{"@type":"ListItem","position":2,"name":"How we protected WordPress sites from WP2Shell"}]},{"@type":"WebSite","@id":"https:\/\/accountants4yourbusiness.co.uk\/#website","url":"https:\/\/accountants4yourbusiness.co.uk\/","name":"Som2ny Network","description":"Daily Deals","publisher":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/accountants4yourbusiness.co.uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/accountants4yourbusiness.co.uk\/#organization","name":"Som2ny Network","url":"https:\/\/accountants4yourbusiness.co.uk\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/","url":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","contentUrl":"https:\/\/accountants4yourbusiness.co.uk\/wp-content\/uploads\/2026\/07\/4a0953c4-logo-300x86-1.png","width":300,"height":86,"caption":"Som2ny Network"},"image":{"@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/b8eaddeb20a8727558e0d0cddcca426e","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/accountants4yourbusiness.co.uk\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/729ae85bf62b9917e93538db2f2688ca?s=96&r=g&default=https%3A%2F%2Faccountants4yourbusiness.co.uk%2Fwp-content%2Fplugins%2Fbuddypress-first-letter-avatar%2Fimages%2Fdefault%2F96%2Flatin_a.png","caption":"admin"},"sameAs":["https:\/\/accountants4yourbusiness.co.uk"],"url":"https:\/\/accountants4yourbusiness.co.uk\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/7086342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7086342"}],"version-history":[{"count":0,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/7086342\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=\/wp\/v2\/media\/7086343"}],"wp:attachment":[{"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7086342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7086342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7086342"},{"taxonomy":"dealstore","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fdealstore&post=7086342"},{"taxonomy":"offerexpiration","embeddable":true,"href":"https:\/\/accountants4yourbusiness.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fofferexpiration&post=7086342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}