main logo icon

Published on

December 4, 2026

|

13 min read

Security Headers Census 2026: HSTS, CSP, X-Frame-Options and security.txt on 10,000 Sites

Stingrai's census of HTTP security headers on the Tranco top 10,000 (list 94LV2), crawled 4 December 2026: HSTS, CSP, X-Frame-Options, nosniff, Referrer-Policy, cookies and security.txt, with the method published.

Arafat Afzalzada

Arafat Afzalzada

Founder

Web App Security

Summarize with AI

ChatGPTPerplexityGeminiGrokClaude

TL;DR

Security headers in numbers: Stingrai requested the homepage of every site in the Tranco top 10,000 (list 94LV2) on 4 December 2026; 5,775 returned a final 2xx over HTTPS, and every share below uses that denominator. 61.1% send HSTS, but only 47.3% with a max-age of at least a year and 16.1% with everything the preload list asks for. 87.4% redirect plain HTTP straight to HTTPS. 35.6% send an enforced Content-Security-Policy, and only 17.6% have one that restricts scripts at all. Of those 1,018 script policies, 69.9% still allow inline script, so 3.5% of sites block both inline script and eval. 44.3% have no clickjacking protection: no X-Frame-Options DENY or SAMEORIGIN and no CSP frame-ancestors. 48.9% send X-Content-Type-Options nosniff, 28.2% Referrer-Policy and 14.3% Permissions-Policy. 16.0% serve a valid security.txt (RFC 9116) with a Contact field; 11.2% serve one whose Expires date is still in the future, and 1.6% sign it. The top 100 lead on five of seven controls.

Security headers are still missing on a large share of the web's most visited sites: of the 5,775 sites in the Tranco top 10,000 whose HTTPS homepage answered on 4 December 2026, 61.1% send HSTS, 35.6% an enforced Content-Security-Policy and 16.0% a valid security.txt, while 44.3% have no clickjacking protection. Stingrai requested every homepage itself and publishes the method so anyone can repeat the count.

Quick answer. Transport headers are mostly there; content headers mostly are not. 87.4% of reachable sites redirect plain HTTP straight to HTTPS and 61.1% send HSTS, but only 17.6% send a CSP that restricts scripts at all, and 69.9% of those still allow inline script. One site in four (23.4%) sends none of six core headers. The top 100 lead on HSTS, CSP, framing protection, nosniff and security.txt.

This is Stingrai's own census, not a survey or a vendor's telemetry. It counts what a browser receives from each homepage: the HTTP redirect and HSTS, CSP, framing protection, nosniff, Referrer-Policy, Permissions-Policy, the cross-origin policies, version disclosure, cookie attributes and the RFC 9116 security.txt file. Results are aggregates by Tranco rank band (1 to 100, 101 to 1,000, 1,001 to 10,000); no individual site is named.

Security headers at a glance: the 2026 census

Control (Tranco top 10,000, list 94LV2, 4 December 2026)

Sites

Share of 5,775

Plain HTTP homepage redirects straight to HTTPS

5,047

87.4%

Strict-Transport-Security (HSTS) present

3,526

61.1%

HSTS max-age of at least one year

2,730

47.3%

HSTS preload-ready (one year, includeSubDomains, preload)

927

16.1%

Framing protection (X-Frame-Options DENY or SAMEORIGIN, or CSP frame-ancestors)

3,217

55.7%

X-Content-Type-Options: nosniff

2,822

48.9%

Content-Security-Policy, enforced

2,055

35.6%

CSP that restricts scripts (script-src or default-src)

1,018

17.6%

CSP that blocks both inline script and eval

201

3.5%

Referrer-Policy

1,626

28.2%

Permissions-Policy

823

14.3%

Cross-Origin-Opener-Policy

404

7.0%

security.txt with a Contact field

926

16.0%

security.txt with Expires still in the future

647

11.2%

None of the six core headers

1,352

23.4%

Source: Stingrai census of the Tranco top 10,000 (list ID 94LV2, generated 3 December 2026), crawled 4 December 2026 from 13:57 to 14:33 UTC. Base: the 5,775 sites whose HTTPS homepage returned a final 2xx response over HTTPS. The six core headers are HSTS, an enforced CSP, framing protection, nosniff, Referrer-Policy and Permissions-Policy.

Horizontal bar chart of the share of reachable top 10,000 sites carrying each security control

Figure 1: Security controls on the homepage response of 5,775 reachable sites in the Tranco top 10,000, December 2026. Source: Stingrai census of the Tranco list 94LV2.

The 4,225 listed domains without a final 2xx over HTTPS are excluded from every share: 1,644 have no DNS record for the bare domain (Tranco ranks registrable domains, many of them CDN, API or tracking domains), 1,441 answered 403 or 429, often bot protection, 454 refused, reset or could not reach the connection, 263 failed the TLS handshake or certificate validation, 239 returned another 4xx, 97 timed out after one retry, 45 returned a 5xx, 31 redirected badly, 10 ended on plain HTTP and 1 failed otherwise.

Bar chart of how many of six core security headers each reachable site sends

Figure 2: How many of six core security headers each site sends. Source: Stingrai census of the Tranco list 94LV2.

The median site sends two of the six core headers: four in the top 100, three in ranks 101 to 1,000 and two below. The count is a tally, not a quality score.

What is HSTS, and how many sites use the HSTS header?

HTTP Strict Transport Security, in MDN's words, "informs browsers that the host should only be accessed using HTTPS". RFC 6797 defines max-age (how long the browser remembers the rule) and includeSubDomains, and tells browsers to ignore the header over plain HTTP and to process only the first one in a response. The preload directive comes from hstspreload.org, which requires a max-age of at least 31,536,000 seconds (one year) plus includeSubDomains, and now says that while HSTS is recommended, preloading is not.

61.1% of reachable sites send HSTS (3,526 of 5,775), but depth falls away:

  • 47.3% set a max-age of at least one year; the median valid max-age is 365 days;

  • 32.6% add includeSubDomains and 20.7% add preload;

  • 16.1% combine all three, the shape the preload list asks for;

  • 46 sites send max-age=0, which switches the policy off, and 374 (6.5%) set a non-zero max-age under 180 days.

Horizontal bar chart of HSTS depth: present, one-year max-age, includeSubDomains, preload and all three

Figure 3: HSTS depth on 5,775 reachable sites. Source: Stingrai census of the Tranco list 94LV2, parsed under RFC 6797.

HSTS only protects a browser that has already seen it, so the first plain HTTP request still matters. Asked for http://<domain>/ without following redirects, 87.4% redirected straight to HTTPS, 6.7% redirected to another plain HTTP URL first (usually a www host), 4.3% served the homepage over plain HTTP and 1.6% returned another status or nothing. HSTS is on 82.7% of reachable top-100 sites, 68.2% of ranks 101 to 1,000 and 60.2% of ranks 1,001 to 10,000.

What is a CSP header, and how strict are Content Security Policies?

A Content-Security-Policy header, per MDN, "allows website administrators to control resources the user agent is allowed to load for a given page", which limits what injected script can do. The W3C CSP Level 3 working draft (27 October 2026) sets the rule applied here: a source list allows all inline script when it contains 'unsafe-inline', unless it also carries a nonce, a hash or 'strict-dynamic'. A Report-Only policy blocks nothing.

35.6% of reachable sites send an enforced CSP (2,055), and 3.9% send only a Report-Only policy. Presence overstates protection:

  • only 1,018 sites (17.6%) restrict scripts with script-src or default-src; many enforced policies exist for frame-ancestors (70.7% of them) or upgrade-insecure-requests (26.1%);

  • of those 1,018 script policies, 79.8% list 'unsafe-inline', and 69.9% leave inline script allowed because nothing cancels it;

  • 69.8% allow 'unsafe-eval', and 24.9% use a nonce, a hash or 'strict-dynamic';

  • 201 sites, 3.5% of all reachable sites, block both inline script and eval.

Horizontal bar chart of CSP presence and strictness on reachable sites

Figure 4: Content Security Policy presence and script strictness on 5,775 reachable sites. Source: Stingrai census of the Tranco list 94LV2, parsed under the W3C CSP Level 3 inline rule.

CSP set in an HTML <meta> tag is out of scope, because the census never reads page bodies. An enforced CSP is on 63.5% of the top 100, 50.0% of ranks 101 to 1,000 and 34.0% of ranks 1,001 to 10,000.

What is X-Frame-Options, and how many sites have clickjacking protection?

X-Frame-Options tells the browser whether a page may be rendered in a frame, the defence against clickjacking: DENY forbids framing and SAMEORIGIN allows it from the same origin only. The OWASP HTTP Security Response Headers Cheat Sheet says CSP frame-ancestors "obsoletes X-Frame-Options for supporting browsers", and MDN says browsers ignore a header carrying the obsolete ALLOW-FROM value.

44.3% of reachable sites have no framing protection (2,558): no X-Frame-Options DENY or SAMEORIGIN and no frame-ancestors free of a wildcard. Of the rest, 16.7% send both, 30.8% X-Frame-Options only and 8.2% frame-ancestors only. X-Frame-Options is SAMEORIGIN on 39.4%, DENY on 8.2% and the obsolete ALLOW-FROM on 34 sites; 186 sites set frame-ancestors to 'none'.

Stacked bar chart of clickjacking protection by Tranco rank band

Figure 5: Framing protection by Tranco rank band. Source: Stingrai census of the Tranco list 94LV2.

Neither control is present on 26.9% of the top 100, 36.3% of ranks 101 to 1,000 and 45.2% of ranks 1,001 to 10,000. OWASP notes the header only matters on a response with something to interact with, so the gap counts for more on a login or payment page than on a static homepage.

What is X-Content-Type-Options, and which other headers do sites send?

X-Content-Type-Options: nosniff tells the browser to respect the declared Content-Type instead of guessing; MDN says it blocks a script or stylesheet whose MIME type does not match. 48.9% of reachable sites send it.

  • Referrer-Policy: 28.2%. The most common value is strict-origin-when-cross-origin (15.4% of sites), which MDN describes as the browser default; the older default no-referrer-when-downgrade is on 6.8%. OWASP recommends setting the header explicitly.

  • Permissions-Policy: 14.3%. It allows or denies browser features such as camera and geolocation; 58 sites still send the retired Feature-Policy name.

  • Cross-origin policies: Cross-Origin-Opener-Policy on 7.0% (30.8% in the top 100), Cross-Origin-Resource-Policy on 2.3% and Cross-Origin-Embedder-Policy on 0.6%.

  • X-XSS-Protection: 29.9% still send it. OWASP says not to set it, or to turn it off, because it can create cross-site scripting issues; the census did not separate 0 from enabling values.

Grouped bar chart of seven controls by Tranco rank band

Figure 6: Adoption of seven controls by Tranco rank band. Source: Stingrai census of the Tranco list 94LV2.

How many sites leak server versions in headers?

80.8% of reachable sites send a Server header, but only 6.9% (397) include a version number (any digits.digits pattern, such as nginx/1.x.y); the product is most often nginx (176), Apache (86) or Microsoft IIS (37). 15.0% send X-Powered-By, and 3.2% include a version, typically in the PHP/x.y.z pattern. OWASP recommends removing X-Powered-By and setting a non-informative Server value. A version string is low severity on its own; it matters when the version has a known exploitable flaw.

How are cookies flagged on homepage responses?

50.5% of reachable sites set a cookie on the homepage response (2,915 sites, 8,630 Set-Cookie headers; values were discarded at collection).

  • By cookie: 59.9% carry Secure, 39.5% HttpOnly and 49.8% a SameSite value (Lax 18.7%, Strict 4.1%, None 27.0%). Only 2 set SameSite=None without the Secure flag MDN says it requires.

  • By site: every cookie is Secure on 47.7% of cookie-setting sites, HttpOnly on 33.0%, carries SameSite on 43.7%, and has all three on 21.2%.

Horizontal bar chart of Secure, HttpOnly and SameSite on homepage cookies

Figure 7: Cookie attributes on homepage Set-Cookie headers, by cookie and by site. Source: Stingrai census of the Tranco list 94LV2.

Homepage cookies are often consent or analytics cookies that scripts are meant to read, so a missing HttpOnly flag on them is not a finding. The session cookie, which matters in a test, is not seen here because the census never logs in.

What is security.txt, and how many sites publish one?

security.txt, standardised in RFC 9116, is a plain-text file that tells researchers how to report a vulnerability. The RFC says it must sit under /.well-known/, be fetched over HTTPS, be served as text/plain, and contain a Contact field and exactly one Expires field, recommended to be less than a year ahead; it recommends an OpenPGP signature. CISA's BOD 20-01 requires US federal agencies to publish a vulnerability disclosure policy; its FAQ says security.txt is "not required under the directive" but can help people find who to share findings with.

16.0% of reachable sites serve a valid security.txt (926): status 200 after up to three redirects, a text/plain Content-Type and a Contact line. Another 850 returned 200 with an HTML page, a file without Contact or a non-text/plain file, and are excluded as soft 404s.

Horizontal bar chart of the security.txt funnel from a 200 response to a signed file

Figure 8: security.txt on 5,775 reachable sites, from a 200 response to a signed file. Source: Stingrai census of the Tranco list 94LV2, fields as defined in RFC 9116.

Of the 926 valid files:

  • 77.4% have an Expires field, so 22.6% miss a required field;

  • 647 (69.9%) were unexpired on the crawl day, 64 had expired and 6 had a date that does not parse;

  • 32.3% set Expires more than a year ahead, against the RFC's recommendation;

  • 63.4% have a Policy field, and 10.3% (95) are PGP-signed.

A valid security.txt is on 46.2% of the top 100, 30.3% of ranks 101 to 1,000 and 14.5% of ranks 1,001 to 10,000.

How does this census compare with the HTTP Archive Web Almanac?

The HTTP Archive Web Almanac 2025 security chapter (published 15 January 2026) draws on the July 2025 crawl of 16,213,084 websites from the Chrome UX Report, so its denominator is the long tail, not the top 10,000. Its own figures: CSP adoption rose from 18.5% to 21.9%; 36% of mobile pages use HSTS; X-Frame-Options is on 67% of the top 1,000 sites but 30% of all sites; and among security.txt files, 94% (mobile) have a Contact field and 75% an Expires date. The direction agrees with this census: popular sites send more headers and CSP lags HSTS. The populations and methods differ, so compare trends, not percentages.

What do security headers prove, and what do they not?

Headers are defence in depth: each tells the browser to refuse a behaviour an attacker might use against a flaw that already exists. None removes the flaw. Stingrai's guidance:

  • A missing header is usually a low-severity finding. Severity rises when the missing control is the last thing between a real weakness and a user, such as no framing protection on a page with a one-click account action.

  • A strict CSP does not fix an injection flaw. The injection still works where the policy does not reach, and one 'unsafe-inline' in the script directive switches the protection off.

  • A homepage header says little about the application. The login page, API, admin console and file downloads each send their own headers.

  • Header checks report presence, not effect. Whether a gap can be exploited depends on what the page does, which a penetration tester can establish and a header check cannot.

How does a web application penetration test report header findings?

In a Stingrai web application penetration test, the penetration testers check headers on the responses that matter (authentication, account settings, payment, file handling and API responses), then test whether a gap can be used: framing the sensitive action, assessing the CSP against each injection finding, checking flags on the session cookie itself, and checking HSTS and redirects on every host in scope. A gap with no exploitable path is reported as low or informational with the exact value to set; one that completes an attack chain is rated with the chain. Findings are posted to the portal as they are confirmed, with a proof of concept and remediation guidance, and retesting is included.

Stingrai is a global CREST-accredited penetration testing services company founded in Toronto, Canada in 2021, trusted by companies from startups to enterprises to meet audit requirements for SOC 2, ISO 27001, CMMC, PCI DSS and HIPAA. OSCE³, OSWE, OSEP, CREST CRT certified penetration testers, who are also world-class security researchers and bug bounty hunters. Choose from fully human-led or hybrid (AI agents plus human penetration testers) engagements across web, API, mobile, AI and LLM, cloud, network, Active Directory and social engineering penetration tests and red team engagements.

Headers change with every deployment, CDN rule and framework upgrade, so a one-off check ages fast. Stingrai's Hybrid Pentest pairs Snipe, Stingrai's autonomous agent for web applications and associated APIs, with certified penetration testers who test the same application manually alongside it and validate Snipe's findings. It is US$6,800 per assessment one-time, or US$1,275 per month on a 12-month plan for continuous testing (monthly Snipe testing, human-verified, plus a quarterly deep dive by Stingrai's penetration testers), for one web application and associated APIs, with an attestation letter. See the pricing page, or Get a Quote for anything larger.

Method

  • Site list. The Tranco list with ID 94LV2, generated on 3 December 2026 from the Crux, Farsight, Majestic, Radar and Umbrella lists for 4 November to 3 December 2026, combined with the Dowdall rule and filtered to pay-level domains. Ranks 1 to 10,000 were taken from https://tranco-list.eu/download/94LV2/10000. The permanent list page is tranco-list.eu/list/94LV2, so anyone can reuse the same 10,000 domains.

  • Crawl window. 4 December 2026, 13:57:47 to 14:32:59 UTC, from one vantage point. A test run on ranks 1 to 20 opened the window; the main run resumed from rank 21 with the same code.

  • Requests per site. Three plain GETs of public URLs a browser would load, and nothing else: (1) https://<domain>/, following up to 5 redirects; (2) http://<domain>/, without following redirects; (3) https://<domain>/.well-known/security.txt, following up to 3 redirects. No other paths, no query strings, no form submission, no port scans, no vulnerability checks, no login and no JavaScript execution. One retry on a timeout and no other retries. Requests (2) and (3) were skipped when the domain had no DNS record. Redirect hops count as requests on the wire, so by design a site could receive at most 11 requests plus one retry for each request that timed out; no stored record shows more than 11. The crawl sent 37,927 requests in all, including 270 retries after timeouts.

  • Politeness. At most 16 sites in flight at once (so at most 16 requests), a 15-second timeout per request, at most 256 KB read from any security.txt body, and no homepage body read or stored: the connection was closed as soon as the response headers arrived. Certificates were validated against Node.js's default CA store; unlike some browsers, the client does not fetch missing intermediate certificates, so up to 37 excluded sites with an incomplete chain may still load in a browser. The User-Agent was a generic desktop browser string followed by "(census)".

  • Stored. For each site: status and URL of every redirect hop, the final URL, every response header of the final homepage response in order (Set-Cookie values replaced by their attributes only), the HTTP status and Location of request (2), and for security.txt the final status, Content-Type, size and the names and counts of its fields, its Expires values and whether it carries a PGP signature.

  • Denominator. A site is measured when request (1) ends, after redirects, in a 2xx response over HTTPS: 5,775 sites (52 in ranks 1 to 100, 466 in 101 to 1,000 and 5,257 in 1,001 to 10,000). Every share on this page uses that denominator unless it says otherwise. The 4,225 excluded sites are listed by reason in the at-a-glance section; 403, 429 and many 5xx answers are often bot protection rather than an absent site.

  • Which response is measured. The final response of request (1) after redirects. 3,886 measured sites redirected at least once, and for 3,732 the final host differs from the listed domain (2,794 of them the www host), so the headers are those of the page a visitor actually lands on.

  • Parsing rules. Header names are case-insensitive; a header sent several times is read as its values joined with commas, except where a standard says otherwise; a header whose value is empty counts as absent. HSTS: the first Strict-Transport-Security header only (RFC 6797), counted only on HTTPS responses; max-age must be all digits; under 180 days means a non-zero max-age below 15,552,000 seconds; preload-ready means max-age of at least 31,536,000 with includeSubDomains and preload. CSP: each header value is split on commas into policies and each policy on semicolons into directives, names and sources lower-cased, first occurrence of a directive kept; a policy restricts scripts when it has script-src or, failing that, default-src; it allows inline script when that list holds 'unsafe-inline' and no 'nonce-, 'sha256-, 'sha384-, 'sha512- source and no 'strict-dynamic'; a site allows inline script (or eval) only when every script-restricting enforced policy does; Report-Only policies never count as enforced. Framing protection: X-Frame-Options whose values are all DENY or all SAMEORIGIN, or an enforced CSP frame-ancestors whose list contains none of *, https: or http: (a list with any of them allows framing from almost anywhere). Conflicting X-Frame-Options values (19 sites) count as no protection, which is stricter than browsers: under the HTML standard an enforced frame-ancestors makes the browser ignore X-Frame-Options, and conflicting values that include DENY or SAMEORIGIN still block framing. Modelled exactly as a browser would, 2,550 sites (44.2%) have no framing protection rather than 2,558 (44.3%). nosniff: the first value equals nosniff. Referrer-Policy: the last recognised token wins. COOP, COEP and CORP: the first value before any parameter, matched against the allowed values. Server or X-Powered-By version: the value matches the regular expression \d+\.\d+. Cookies: Secure, HttpOnly and SameSite read from each Set-Cookie header's attributes. HTTP redirect: request (2) returned 3xx with a Location that resolves to an https URL (one Location that did not parse as a URL counts as another status).

  • security.txt rules. Valid means final status 200, Content-Type starting text/plain, a body that does not open as HTML, and at least one line starting Contact: (field names case-insensitive). Files that fail any of these after a 200 are soft 404s and excluded. Expires is parsed as a date; expired means earlier than the moment that site was fetched, and more than a year ahead means more than 366 days after it. Signed means the body contains -----BEGIN PGP SIGNED MESSAGE-----.

  • Six core headers. HSTS present, enforced CSP present, framing protection, nosniff, Referrer-Policy present and Permissions-Policy present, each counted 0 or 1 and summed. It is a count, not a score.

  • Limits. One vantage point at one time: CDNs and load balancers can return different headers by region, client or time, and some sites return different responses to automated clients. The client speaks HTTP/1.1, not HTTP/2 or HTTP/3. Only the homepage is measured, and only its headers: CSP set by a meta tag is out of scope because bodies were not read. The bare registrable domain is requested, so a site that only answers on www without an apex record counts as unreachable. Tranco ranks domains, not organisations, so one organisation can hold several entries.

  • Reproducing it. Take list 94LV2, apply the three requests and the parsing rules above, keep only sites whose final homepage response is 2xx over HTTPS, and count. Headers change daily, so a later crawl will differ at the margin; this page is a snapshot of 4 December 2026 and will be refreshed with a new crawl rather than edited in place.

How to cite this page

Stingrai Research Team. "Security Headers Census 2026: HSTS, CSP, X-Frame-Options and security.txt on 10,000 Sites." Stingrai, 4 December 2026. https://www.stingrai.io/blog/security-headers-census-2026

Cite the site list to Tranco (list ID 94LV2) and the computed figures to this page with the crawl date, 4 December 2026. This analysis is licensed under CC BY 4.0.

Frequently asked questions

What share of top websites use security headers in 2026?

Of the 5,775 sites in the Tranco top 10,000 whose HTTPS homepage answered on 4 December 2026, 61.1% send HSTS, 55.7% have framing protection, 48.9% send X-Content-Type-Options nosniff, 35.6% send an enforced Content-Security-Policy, 28.2% send Referrer-Policy and 14.3% send Permissions-Policy, by Stingrai's census. 23.4% send none of these six, and 5.7% send all six.

What is X-Frame-Options?

X-Frame-Options is a response header that tells the browser whether a page may be shown inside a frame, which defends against clickjacking. DENY forbids framing and SAMEORIGIN allows it from the same origin only. In Stingrai's census, 39.4% of reachable top sites send SAMEORIGIN and 8.2% DENY, and 44.3% have neither X-Frame-Options nor the CSP frame-ancestors directive that supersedes it.

What is the HSTS header?

HSTS (Strict-Transport-Security, RFC 6797) tells the browser to use only HTTPS for a host for max-age seconds, optionally including subdomains. In Stingrai's census, 61.1% of reachable top sites send it, 47.3% with a max-age of at least one year, and 16.1% with the one-year max-age, includeSubDomains and preload that the browser preload list asks for.

What is a CSP header?

A Content-Security-Policy header tells the browser which sources a page may load scripts, styles, frames and other content from, which limits what injected script can do. In Stingrai's census, 35.6% of reachable top sites send an enforced CSP, but only 17.6% have one that restricts scripts, and 69.9% of those still allow inline script. 3.5% of sites block both inline script and eval.

What is security.txt?

security.txt is a plain-text file at /.well-known/security.txt, defined in RFC 9116, that tells researchers how to report a vulnerability. It must contain a Contact field and an Expires field. In Stingrai's census, 16.0% of reachable top sites serve a valid one, 11.2% serve one whose Expires date has not passed, and 1.6% sign it with PGP.

What does X-Content-Type-Options nosniff do?

It tells the browser to trust the declared Content-Type instead of guessing, and to block a script or stylesheet whose MIME type does not match. That closes off attacks that rely on a file being reinterpreted as script. In Stingrai's census, 48.9% of reachable top sites send nosniff on the homepage.

Which Referrer-Policy value do sites use?

28.2% of reachable top sites send a Referrer-Policy header. The most common value is strict-origin-when-cross-origin (15.4% of all sites), followed by no-referrer-when-downgrade (6.8%) and same-origin (2.3%). Browsers already default to strict-origin-when-cross-origin when no policy is set, but OWASP recommends setting it explicitly.

Is a missing security header a vulnerability?

Usually it is a low-severity or informational finding, because headers are defence in depth: they limit the damage of a flaw rather than remove it. It becomes more serious when the missing control is what stands between a real weakness and a user, such as no framing protection on a page with a one-click sensitive action. A penetration test checks whether the gap can actually be exploited.

How do you check a site's security headers?

Request the page and read the response headers, for example in a browser's developer tools network panel or with any command-line HTTP client, and check the login, account and API responses as well as the homepage. Compare each value with the rules in the OWASP HTTP Security Response Headers Cheat Sheet, and test whether any gap can be exploited in the application itself.

References

  1. Tranco. Information on the Tranco list with ID 94LV2. Generated 3 December 2026. https://tranco-list.eu/list/94LV2/1000000. Research-oriented top sites ranking (Le Pochat et al., NDSS 2019); ranks 1 to 10,000 used as the site list.

  2. Stingrai. Security headers census crawl. 4 December 2026, 13:57 to 14:33 UTC. Every census figure on this page is Stingrai's computation; method above.

  3. IETF. RFC 6797: HTTP Strict Transport Security (HSTS). November 2012. https://www.rfc-editor.org/rfc/rfc6797. max-age, includeSubDomains, first-header and insecure-transport rules.

  4. hstspreload.org. HSTS Preload List Submission. https://hstspreload.org/. One-year max-age and includeSubDomains requirements for preload.

  5. W3C. Content Security Policy Level 3. Working Draft, 27 October 2026. https://www.w3.org/TR/CSP3/. Inline allow rule; Report-Only and meta-element limits.

  6. IETF. RFC 9116: A File Format to Aid in Security Vulnerability Disclosure. April 2022. https://www.rfc-editor.org/rfc/rfc9116. Location, Content-Type, Contact and Expires requirements.

  7. OWASP. HTTP Security Response Headers Cheat Sheet. https://cheatsheetseries.owasp.org/cheatsheets/HTTP_Headers_Cheat_Sheet.html. Recommended values for each header.

  8. OWASP. OWASP Secure Headers Project. https://owasp.org/www-project-secure-headers/. Reference project for HTTP response security headers.

  9. CISA. BOD 20-01: Develop and Publish a Vulnerability Disclosure Policy. 2 September 2020. https://www.cisa.gov/news-events/directives/bod-20-01-develop-and-publish-vulnerability-disclosure-policy. VDP requirement for federal agencies; FAQ on security.txt.

  10. HTTP Archive. Web Almanac 2025, Security chapter. Published 15 January 2026. https://almanac.httparchive.org/en/2025/security. July 2025 crawl of sites in the Chrome UX Report; independent comparison figures.

  11. MDN Web Docs. Strict-Transport-Security, Content-Security-Policy, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, Cross-Origin-Opener-Policy and Set-Cookie reference pages. https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers. Header definitions and browser defaults.

  12. Stingrai. Pricing. https://www.stingrai.io/pricing. Hybrid Pentest one-time and continuous prices, read 4 December 2026.

Talk to Stingrai

If your application sends a header report full of low findings and you want to know which ones an attacker could actually use, tell us which application carries the risk. Get a Quote for pricing within 24 hours, or book a free discovery call to walk through scope first.

0 views

0

X

Related reading

Access Control Vulnerability Statistics 2026: Authorization, IDOR and Privilege CVEs
Web App Security

Access Control Vulnerability Statistics 2026: Authorization, IDOR and Privilege CVEs

Access control vulnerability statistics 2026: 19,319 NVD CVEs to 4 December, 17.6% of all, and 56.0% need only a low-privilege login. Stingrai's count.

14 min read

AI vs Human Penetration Testing: Why Use Both Against AI-Era Attackers (2026)
Web App SecurityLLM Security

AI vs Human Penetration Testing: Why Use Both Against AI-Era Attackers (2026)

AI vs human penetration testing: what agents and testers each miss, how AI-era attackers operate, and how an agent-plus-tester engagement emulates them.

17 min read

Broken Access Control Explained: Examples, Testing and Fixes (2026)
Web App Security

Broken Access Control Explained: Examples, Testing and Fixes (2026)

Broken access control explained: the OWASP Top 10:2025 A01 data, its eight classes, why scanners miss it, how a penetration test finds it and the fixes.

24 min read

Contents

X