Statistics · Statistics
Website Security Statistics (2026)
Short answer
Website security in 2025 was shaped by scale: APWG counted about 3,800,000 phishing attacks in the year, Cloudflare blocked 8,300,000 DDoS attacks in the third quarter alone, and Sucuri found 1,176,701 infected sites in more than 70 million scans in 2024. HTTPS now covers about 91% of websites as of November 2026, but only 36% of mobile pages send the HSTS header.
Key takeaways
- APWG counted 3.8 million phishing attacks in 2025, up slightly from 3.76 million in 2024.
- Cloudflare blocked 8.3 million DDoS attacks in Q3 2025, an average of 3,780 attacks per hour.
- Sucuri SiteCheck found 1,176,701 infected websites in 70.8 million scans in 2024.
- About 91% of websites used HTTPS by default as of November 2026, according to W3Techs.
- Only 36% of mobile pages sent the HSTS header in the 2025 Web Almanac crawl.
- The average data breach cost $4.44 million worldwide in 2025, according to IBM.
How many websites are attacked or infected each year?
Sucuri SiteCheck found 1,176,701 infected websites in more than 70 million scans in 2024.
That figure comes from Sucuri's SiteCheck Malware Trends Report 2024, which covered scans from 1 January to 31 December 2024. The overall infection rate across the scans was 1.66%.
Malware and malicious redirects made up 74.7% of the infections Sucuri detected in 2024. Search engine spam made up 38.4% of infections, and a single site could carry more than one type, so the shares add to more than 100%.
The most detected single campaign was the Balada Injector, with 149,351 detections in 2024, according to the same Sucuri report. Sign1 followed with 96,084 detections.
| Statistic | Figure | Source | Year |
|---|---|---|---|
| Infected websites found by SiteCheck | 1,176,701 | Sucuri | 2024 |
| Website scans run by SiteCheck | 70.8 million | Sucuri | 2024 |
| Infection rate across scans | 1.66% | Sucuri | 2024 |
| Infections with malware or redirects | 74.7% | Sucuri | 2024 |
| Infections with search engine spam | 38.4% | Sucuri | 2024 |
| Phishing attacks observed | 3.8 million | APWG | 2025 |
| DDoS attacks blocked in Q3 | 8.3 million | Cloudflare | 2025 |
| Websites using HTTPS by default | 90.7% | W3Techs | 2026 |
| Mobile pages sending HSTS | 36% | Web Almanac | 2025 |
| Average cost of a data breach | $4.44 million | IBM | 2025 |
These numbers come from different samples, so do not add them together. Sucuri scanned sites that people chose to check, while Cloudflare and APWG counted attacks seen on their own networks and reporting systems.
How common is phishing in 2025?
APWG counted 3,800,000 phishing attacks in 2025, up slightly from 2024.
The count comes from the APWG Phishing Activity Trends Report for the fourth quarter of 2025, published 18 February 2026. APWG counts each unique phishing site as one attack.
The second quarter of 2025 was the busiest, with 1,130,393 attacks. That was the largest quarterly total since the second quarter of 2023, according to the same report.
The fourth quarter counted 853,244 attacks, down 4% from 892,494 in the third quarter of 2025. APWG also counted 866 unique brands targeted in the fourth quarter.
Phishing sites are often short lived, because hosts and browsers act fast once a site is reported. The count still matters, because each new site is a fresh chance to trick a visitor.
If a link in an email or message looks odd, check it before you click. A site can look real while it steals login details, so a warning page from your browser is a reason to stop.
How many DDoS attacks hit websites in 2025?
Cloudflare blocked 8,300,000 DDoS attacks in the third quarter of 2025, an average of 3,780 attacks per hour.
That figure comes from Cloudflare's 2025 Q3 DDoS threat report. The total rose 15% on the prior quarter and 40% on the same quarter a year earlier.
In the first nine months of 2025, Cloudflare had already blocked 36.2 million DDoS attacks. That was 170% of the total it blocked through all of 2024, according to the same report.
Network-layer attacks made up 71% of the Q3 total, or 5.9 million attacks. HTTP DDoS attacks made up 29%, or 2.4 million attacks, and fell 41% on the prior quarter.
The largest attacks in the quarter peaked at 29.7 terabits per second and 14.1 billion packets per second. The Aisuru botnet, with an estimated 1 to 4 million infected hosts, drove 1,304 hyper-volumetric attacks in the quarter alone.
- China was the most attacked country in Q3 2025, followed by Turkey.
- Indonesia was the largest source of DDoS attacks, a rank it had held for a full year.
- Information Technology and Services was the most attacked industry, followed by Telecommunications.
A DDoS attack floods a site with traffic until real visitors cannot get through. For a small site, even a short outage can mean lost orders and lost trust.
How many websites use HTTPS in November 2026?
W3Techs counted HTTPS as the default protocol on about 91% of all websites as of 11 November 2026.
That figure comes from W3Techs, which updates its survey daily. The share was 94.1% among sites ranked in the top 1 million.
The Web Almanac 2025 Security chapter, published 15 January 2026, gives a higher figure when it counts traffic. Over 98.8% of mobile requests travelled over HTTPS in its July 2025 crawl.
The same Web Almanac crawl found HTTPS on 97.5% of desktop home pages and 97.3% of mobile home pages. The gap between the two measures is normal: W3Techs counts websites, while the Web Almanac counts requests and home pages.
HTTPS encrypts the link between a visitor and your site, so passwords and form data cannot be read in transit. It does not by itself prove a site is safe, clean, or honest.
If your site still serves pages over plain HTTP, fix that first. A guide to how much an SSL certificate costs can help you plan the change.
How many websites use HSTS and other security headers?
Only 36% of mobile pages sent the HSTS header in the Web Almanac 2025 crawl, up 6 percentage points on the prior edition.
HSTS is a response header that tells browsers to use HTTPS only for that domain. The figure comes from the Web Almanac 2025 Security chapter, based on a crawl of July 2025.
Among HSTS responses, 96% set a valid max-age value. The median valid max-age was 365 days, and the 10th percentile rose from 30 days to 91 days in a year.
Content-Security-Policy, the header that limits which scripts a page may run, was used on 21.9% of pages in the same crawl. That was up from 18.5% in the prior edition, according to the Web Almanac.
Other headers were more common. X-Content-Type-Options led at close to 50% of mobile pages, while X-Frame-Options sat at about 35%.
The gap is the point. HTTPS is now close to universal, but the headers that stop downgrade and script injection attacks are still missing on most pages. A guide to how to add security headers to WordPress lists the headers worth checking first.
What do data breaches cost in 2025?
The average data breach cost $4,440,000 worldwide in 2025, according to IBM.
That figure comes from IBM's Cost of a Data Breach Report 2025, based on 600 organizations studied from March 2024 through February 2025. It was the first fall in five years, down from $4.88 million in 2024.
The average breach in the United States cost $10.22 million, a record high. The United States figure was about 2.3 times the global average.
The average breach lifecycle, from first access to containment, was 241 days. That was 17 days shorter than the year before, and the shortest in nine years, according to IBM.
Healthcare breaches averaged $7.42 million, the most costly of any industry in the study. IBM also found that 13% of organizations reported breaches of AI models or applications.
Of those AI breaches, 97% of the affected organizations said they had no AI access controls in place. That link between new tools and missing controls is a warning for any site that adds AI features fast.
How do attackers get into websites?
Stolen credentials were the most common starting point, used in 22% of breaches in Verizon's 2025 report.
That figure comes from the Verizon 2025 Data Breach Investigations Report, which studied 22,052 incidents and 12,195 confirmed breaches. Vulnerability exploitation was next, at 20% of breaches, up 34% on the prior report.
Web applications were the weak spot. In basic web application attacks, 88% of breaches involved stolen credentials, according to Verizon. Brute-force attacks in that group rose from about 20% to 60% of incidents in a year.
Ransomware was present in 44% of all breaches in the Verizon study. A human element, such as clicking a phishing link or visiting a malicious site, appeared in 60% of breaches.
- Use a unique password for your site admin account, and turn on two-factor login where it is offered.
- Update software, plugins, and themes fast when a fix is released.
- Limit who can log in, and remove accounts you no longer use.
These steps do not stop every attack, but they close the paths the data shows attackers use most. A guide to the most common WordPress vulnerabilities explains the flaws that show up again and again.
What do the numbers mean for a small website owner?
The numbers mean attacks are common, but most of them use known paths that you can close.
WordPress ran 38.5% of all websites as of 19 November 2026, according to W3Techs, so a large share of the web shares the same software and the same targets. That scale is why patching and login controls matter so much.
The trend is mixed. HTTPS is now the default for about 9 in 10 websites, and breach containment is getting faster, with IBM reporting a 241-day average lifecycle in 2025.
The weak spots are just as clear. Only 36% of mobile pages send HSTS, only 21.9% use Content-Security-Policy, and phishing stayed near 3.8 million attacks in 2025.
Start with the basics: HTTPS, updates, strong unique passwords, two-factor login, and backups you have tested. If your site shows signs of a hack, a guide on how to tell if your WordPress site is hacked lists the checks to run first.
What mistakes should you avoid?
Do not treat the padlock as proof that a site is safe, and do not leave updates and logins for later.
HTTPS encrypts traffic, but it does not stop phishing, malware, or stolen passwords. A phishing site can serve HTTPS too, so the padlock alone tells you nothing about who runs the site.
Do not reuse one password across your site, email, and hosting accounts. One stolen password can open several doors at once, and Verizon found stolen credentials in 88% of basic web application breaches in 2025.
Do not skip security headers because HTTPS is in place. HSTS and Content-Security-Policy close gaps that HTTPS leaves open, yet most pages still lack them.
Do not assume a small site is too small to be attacked. Automated scans and botnets do not pick targets by size, and Cloudflare blocked an average of 3,780 DDoS attacks per hour in Q3 2025.
If you want a deeper check, a guide to is WordPress secure explains how the core, plugins, and hosting each add risk.
Frequently asked questions
Are most websites hacked each year?
No. Sucuri scanned 70.8 million sites in 2024 and found 1,176,701 infected, an infection rate of 1.66%. That is a large number of sites, but it is still a small share of all the sites scanned. The risk is real, yet it is not the same as most sites being hacked.
Is HTTPS enough to keep a website safe?
No. HTTPS encrypts traffic between a visitor and your site, and about 91% of websites now use it by default. It does not stop phishing, stolen passwords, outdated software, or malware. You still need updates, strong logins, backups, and security headers to cover those risks.
How long does a phishing site stay online?
Many phishing sites are taken down fast once they are reported, which is why attackers keep making new ones. APWG counted 3.8 million phishing attacks in 2025, with 1,130,393 in the second quarter alone. The volume stays high because each new site is cheap to set up.
How much does a data breach cost a small business?
IBM put the global average at $4.44 million in 2025, but that figure covers 600 organizations of many sizes and is not a small business average. The United States average was $10.22 million. For a small site, the cost is usually lost orders, cleanup fees, and lost trust rather than the full average.
What is the single best step to improve website security?
Keep software updated and use strong, unique passwords with two-factor login. Verizon found stolen credentials in 22% of breaches in 2025 and in 88% of basic web application breaches. Updates close known flaws, and better logins block the most common way in.
Sources
- Cloudflare's 2025 Q3 DDoS Threat Report Cloudflare
- Security | Web Almanac 2025 HTTP Archive
- Phishing Activity Trends Report, 4th Quarter 2025 Anti-Phishing Working Group
- SiteCheck Malware Trends Report 2024 Sucuri
- IBM Cost of a Data Breach Report 2025 IBM Newsroom
- 2025 Data Breach Investigations Report Executive Summary Verizon
- Default protocol https usage statistics W3Techs
Is your product missing, or something out of date?
Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.
Thanks — we review requests within 3 business days.
