ao link

You are viewing 1 of your 2 free articles

PHP: How to make sure your website is secure

How to respond to the newfound vulnerability in the PHP coding language

A laptop keyboard with a miniature warning cone and hard hat standing on top, representing website maintenance

Website security is paramount for charities to safeguard private stakeholder data and underpin the trust required to operate and deliver their mission. But newly discovered flaws buried in commonly-used coding, estimated to affect 30 million websites, could be compromising the security that many charities have worked so hard to maintain.

 

The PHP flaws, which went undetected for at least a decade, were unearthed on 21 October 2026 by two cyber-security companies with the help of artificial intelligence. The announcement of the flaws has caused organisations around the world to act quickly to make sure their systems are secure.

 

The UK government has urged “all organisations, private and public, large and small” to follow guidance to protect their systems. In this article, we outline expert advice on how to respond.

 

 

What is PHP?

 

PHP is one of the first web languages that powered the early internet. “It’s…core to how the internet runs in a lot of ways”, Ryan Austin, who says he discovered the flaw, has explained. “It’s like all the old things that are in a house that you know keeps it [running] but you don’t really think about.”

 

The code is used by a vast number of platforms, and “powers everything from your blog to the most popular websites in the world”, according to the PHP Foundation. It’s what takes the information you need as a website visitor and presents it in a way you can read.

 

The PHP Foundation ensures the long-term prosperity of the PHP language and have posted since the discovery about how it is strengthening PHP security.

 

 

What could be the impact of an attack?

 

The two flaws found, could, under the right conditions, allow unauthenticated attackers to execute code on web servers that run on PHP, according to the PHP Foundation. Or, as the BBC has reported, the flaws could enable attackers to “take control” of affected web servers.

 

In doing so, malicious actors could steal data, access other parts of your network, or even “plant a backdoor” to access your systems later on, Alan Woodward from Surrey Cyber Security Centre has highlighted.

 

 

How to make sure your website is secure

 

Below, we explore the practical steps recommended by experts.

 

 

Find out if your systems use PHP

 

The National Cyber Security Centre (NCSC) recommends identifying systems running PHP across your infrastructure, prioritising internet-facing systems.

 

That might include your website. PHP is the programming language powering popular content management systems (CMS) like Wordpress, Joomla, and Drupal. If you use a CMS, visit their website for further information or get in touch with them to find out how the incident could be impacting you.

 

To help you understand your other systems that might be affected, the NCSC has created a list of software products that use PHP and which are potentially affected by the vulnerabilities.

 

 

Update to the latest version of PHP

 

The developers of PHP have rolled out security patches to fix the vulnerabilities that were identified in the code. They are urging all users to install the update immediately, and this is being echoed by authorities and security organisations around the world.

 

You can find out how to update PHP here. The NCSC advises that once updated, you should continue to monitor for future updates.

 

If you are unable to update the software to a version with the security patches applied, the PHP Foundation have provided temporary mitigations, which can help reduce your system’s exposure to specific paths of attack. Still, it’s important to update the system if you can. As the PHP Foundation states, “only an update is a complete solution”.

 

 

Consider temporarily suspending your website

 

“If you are unable to apply the temporary mitigations, or applying them would take too long, you should consider taking the system offline until it can be fully mitigated”, says the NCSC.

 

This guide by Unlimited Web Hosting explores four methods of taking your website offline.

 

 

Check for evidence of attacks

 

Once you have updated or otherwise secured your systems, NCSC recommends that you assess the systems for any evidence that they have been compromised before you were able to address the vulnerability. For example, you should look for “backdoors installed by an attacker”.

 

If you aren’t confident in your ability to complete this step by yourself, NCSC-assured Cyber Incident Response providers are able to help.

 

 

Make sure your third-party software is secure

 

Understand which software used by your charity is impacted and keep monitoring for updates to those services, making sure to stay up to date.

 

 

Beware of phishing messages

 

Make sure your team stays vigilant against phishing. The US National Security Agency has highlighted that phishing attacks may exploit the publicity around the incident.

 

To help you spot the signs of phishing and protect against attacks, our article can help.

 

Follow-up questions for CAI

What can attackers do through the newly found PHP flaws?Which popular website platforms use PHP?How can charities check whether their systems use PHP?What should organisations do if they cannot install PHP patches?Why should teams watch for phishing messages about the flaws?

Related Articles

Avast Business Antivirus – Annual SubscriptionAvast Business Antivirus – Annual Subscription
How to manage your websiteHow to manage your website
The Leadership Series: Shaping strategy that delivers - CPD AccreditedThe Leadership Series: Shaping strategy that delivers - CPD Accredited
The ultimate guide to cyber securityThe ultimate guide to cyber security

More on this topic

How to build a visual identity that stands out online

How to build a visual identity that stands out online

Charity Digital Academy

Our courses aim, in just three hours, to enhance soft skills and hard skills, boost your knowledge of finance and artificial intelligence, and supercharge your digital capabilities. Check out some of the incredible options by clicking here.

 

Tell me more