Security
6,097 U.S. websites checked for security. The average score is 85 out of 100. Secure your site and protect users with proper security practices.
Of 6,097 fully scanned sites, 21% (1,308) earn an A for security, 72% (4,372) a B or C, and 7% (417) a D or F. The average score is 85.
Why security matters
Strong defenses prevent hackers from stealing personal information and other confidential data.
Hackers can steal private information from your site.
What we check
Standards for protecting your website and its users from online threats.
- Clickjacking mitigation: The site prevents other websites from embedding its pages to trick users into clicking.
- Content security policy (CSP): The site has a policy that limits what external content can load on its pages.
- Errors in the console: The page loads without JavaScript or network errors.
- HTTP Strict Transport Security (HSTS): The site forces an encrypted HTTPS connection for all users.
- Hypertext Transfer Protocol Secure (HTTPS): The site uses HTTPS to encrypt data between the server and users.
- Paste preventing inputs: The page lets users paste content into form fields.
- security.txt: The site has a security.txt file so researchers know how to report issues.
- Sponsored top-level domain (sTLD): The site uses a government-issued domain (.gov, .edu, or .mil).
- X-Content-Type-Options: The site tells browsers not to guess the type of files it serves.
Policy and guidance that supports website security and data protection. Guidance: CISA Website Security, 21st Century Integrated Digital Experience Act (IDEA), CISA Cybersecurity Performance Goals, RFC 9116, OWASP Top 10, U.S. Federal Website Standards.
How sites score
All sites by security grade
Share of the 6,097 fully scanned sites in each grade band
- A (90 to 100): 1,308 (21%)
- B to C (70 to 89): 4,372 (72%)
- D to F (below 70): 417 (7%)
| Grade band | Sites |
|---|---|
| A (90 to 100) | 1,308 |
| B to C (70 to 89) | 4,372 |
| D to F (below 70) | 417 |
Where sites fail
The most common security failure is X-Content-Type-Options: 50% (3,078 of 6,097 sites) fail it.
Highest and lowest scores
Highest security scores
| Rank | Site | Checks passed | Grade |
|---|---|---|---|
| 1 |
handbook.data.ca.gov
|
8 of 8 checks pass | A |
| 1 |
waterchallenge.data.ca.gov
|
8 of 8 checks pass | A |
| 1 |
saferatwork.labor.ca.gov
|
8 of 8 checks pass | A |
| 1 |
privacy.ca.gov
|
8 of 8 checks pass | A |
| 1 |
oregon.gov
State of Oregon |
8 of 8 checks pass | A |
Lowest security scores
| Rank | Site | Checks passed | Grade |
|---|---|---|---|
| 11 |
tpcg.org
Terrebonne Parish, LA |
5 of 9 checks pass | F |
| 11 |
euprava.gov.rs
|
5 of 9 checks pass | F |
| 11 |
federalreserveeducation.org
Federal Reserve Board |
5 of 9 checks pass | F |
| 11 |
nefl-sega-cfc.org
Combined Federal Campaign |
5 of 9 checks pass | F |
| 11 |
logancountynd.com
Logan County, ND |
5 of 9 checks pass | F |
Rankings and issues
- All sites ranked by security: every site with a security score, 100 to a page.
- States ranked by security: 42 fully scanned sites.
- Counties ranked by security: 2,471 fully scanned sites.
- Cities ranked by security: 212 fully scanned sites.
- Federal ranked by security: 688 fully scanned sites.
- Education ranked by security: 2,687 fully scanned sites.
- Websites not on a .gov domain: 1,309 of 6,097 fully scanned sites.
- Pulse: how every indicator scores across all sites and each group.
- Security standards and how ScanGov helps with security.