On Wednesday, a number of websites, including those belonging to the Canadian government, were taken offline as a measure to address vulnerabilities discovered in PHP, a popular programming language.
In response to the vulnerabilities, PHP developers issued urgent updates on Wednesday and urged webmasters to apply these solutions immediately.
“If you operate PHP, it is crucial that you update now,” stated the PHP Foundation in a news announcement.
Artificial Intelligence Minister Evan Solomon indicated that several federal government sites were temporarily taken offline as a “precautionary measure,” urging organizations running PHP websites to apply the security patch.
“We are treating this matter with utmost seriousness,” Solomon expressed in a social media update. “The affected websites will be restored as soon as the necessary fixes are in place.”
On Wednesday, when CBC News attempted to access them, the websites for the Canadian Centre for Cyber Security and Statistics Canada seemed to be offline for a period.

The Newfoundland and Labrador government website was taken offline on Wednesday due to a newly revealed cybersecurity issue. Numerous Canadian government sites were affected by this vulnerability. (CBC)
Websites for the provinces of Newfoundland and Labrador and Prince Edward Island were also inaccessible, showing notifications that the shutdown was due to a global security event. Additionally, the Elections B.C. site was down on Wednesday, coinciding with the final day of advance voting prior to Saturday’s provincial election.
Security vulnerabilities in PHP were also addressed by Wikipedia, Cloudflare, and Maple Health on Wednesday.
AI Discovers Vulnerability
PHP, originally known as “Personal Home Page,” has been around since the early 1990s. It plays a crucial role in powering significant portions of the public web and is integrated into platforms like WordPress, Drupal, Joomla, and Magento.
When a page utilizing PHP is accessed, a server running the language generates the content and sends it to the user’s browser. As free, open-source software, PHP is maintained by volunteers.
PHP is extensively utilized online, powering about 75 percent of websites whose programming languages can be identified, according to web technology tracker W3Techs.
“PHP is foundational to the internet,” remarked Ritesh Kotak, a cybersecurity and tech analyst based in Toronto.
Due to its widespread use, many websites remain vulnerable to attacks until the updates are applied, and Kotak describes the situation as “truly alarming.”
Kotak noted that larger companies and organizations with extensive IT departments may be able to apply the fix more swiftly, whereas medium and small enterprises may face prolonged vulnerability or struggle to implement the patch due to limited resources.
In a blog entry, Wiz, a cybersecurity firm owned by Alphabet, stated it detected the flaw in PHP using artificial intelligence.
According to the company, the vulnerable code had existed for over a decade, and multiple large language models were utilized to identify the vulnerability and validate the patch while collaborating with OpenAI on discovery and remediation. They also worked with Automattic, AWS, Microsoft, and others on implementing the patch to provide guidance for customers unable to apply the fix immediately.
The PHP Foundation noted that a potential exploit for one vulnerability was first “theorized” in 2024, but explained to CBC News via email that each proposed solution resulted in new issues. A lack of resources and other pressing matters contributed to the delay in addressing the problem, according to PHP.
Kotak mentioned that while AI played a role in identifying and resolving these vulnerabilities, it can also be leveraged by cybercriminals to locate and exploit such weaknesses.
“With [AI], it’s possible to have thousands of hackers equipped with the latest tools and knowledge attempting to penetrate systems and access databases,” Kotak stated.
For this reason, he anticipates an increase in cybersecurity incidents in the future.
In other regions, cybersecurity agencies in Europe, Australia, Japan, and the UK have also urged PHP users to make the necessary updates, while governments in France, the Netherlands, and other European nations proactively took their websites offline to implement the fixes.


