From the DaSilva Consulting blog

HP2Shell is an SEO problem: what site owners need to do

By
Tiffany DaSilva
Published
October 26, 2026
,
18
min read
The short answer

PHP2Shell is the name for two critical flaws in PHP, the programming language behind WordPress, Drupal, Joomla and 69.2% of websites whose server-side language is known. Fixes were released on October 21, 2026, and the fix is a PHP update on the server, not a WordPress, theme or plugin update. It matters for SEO because a hacked or offline site can get a warning label in Google, spam pages indexed under its domain, and pages dropped from the index.

Key takeaways
  • Server fix only - The flaws are in PHP itself. Automattic said updating WordPress, a theme or plugins "alone does not fix the underlying PHP vulnerability."
  • Four patched versions - PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12, released October 21, 2026. PHP 8.1 and older get no standard release.
  • Old PHP is common - W3Techs shows 34.4% of PHP websites on PHP 5 or PHP 7 as of October 26, 2026.
  • Hacks cost rankings - Hacked pages can get a "This site may be hacked" label, and Google says review requests "can take several days or weeks."
  • Downtime needs a 503 - Google says a 503 status keeps indexed pages in Search during downtime, for one or two days at most.

Frequently asked questions

Does updating WordPress fix PHP2Shell?
Arrow Icon
What is PHP2Shell and why does it matter for SEO?
Arrow Icon