Skip to content
Back to HTTP Security Headers

HTTP Security Headers

cochrane.org

cochrane.org has 3 of 10 security headers correctly configured, most notably Strict-Transport-Security — addressing the critical findings flagged below will move it into the strong tier.

200 https://cochrane.org/
3 present 1 missing (critical) 1 missing (recommended)
HeaderValueNote
Content-Security-Policyframe-ancestors 'self' https://cochrane.streamlxp.comPrevents XSS and injection attacks
Strict-Transport-SecurityNot setForces HTTPS connections
X-Frame-OptionsSAMEORIGINPrevents clickjacking
X-Content-Type-OptionsnosniffPrevents MIME sniffing
Referrer-PolicyNot setControls referrer information
Permissions-PolicyNot setControls browser features
X-XSS-ProtectionNot setLegacy XSS filter (deprecated)
Cross-Origin-Opener-PolicyNot setIsolates browsing context
Cross-Origin-Embedder-PolicyNot setControls cross-origin embedding
Cross-Origin-Resource-PolicyNot setControls cross-origin resources

Content-Security-Policy Details

frame-ancestors 'self' https://cochrane.streamlxp.com
Show all response headers (25)
Server: Apache/2.4.58 (Ubuntu)
X-Varnish: 126629497 121835892
Connection: keep-alive
X-Url: /
X-Host: www.cochrane.org
X-Cacheable: YES
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8
Expires: Sun, 19 Nov 1978 05:00:00 GMT
Via: 1.1 varnish (Varnish/6.0)
X-Generator: Drupal 10 (https://www.drupal.org)
Last-Modified: Sun, 16 Aug 2026 03:50:09 GMT
Vary: Cookie,Accept-Encoding
X-Cache: HIT
Date: Sun, 16 Aug 2026 17:23:14 GMT
Content-Security-Policy: frame-ancestors 'self' https://cochrane.streamlxp.com
X-Frame-Options: SAMEORIGIN
Content-Language: en
Etag: "1786852209-gzip"
Cache-Tags: config:sticky_local_tasks.settings config:block_list config:block.block.cochrane_hs_branding config:block.block.cochrane_hs_cochranemetanavigation config:block.block.cochrane_hs_languageswitchercachefix config:configurable_language_list config:block.block.cochrane_hs_logindonate config:block.block.cochrane_hs_breadcrumbs config:block.block.cochrane_hs_content config:block.block.cochrane_hs_help config:block.block.cochrane_hs_jointhepatientandpublicnetworkintro config:block.block.cochrane_hs_languages node:1 config:block.block.cochrane_hs_local_actions config:block.block.cochrane_hs_local_tasks config:block.block.cochrane_hs_malaysurvey config:block.block.cochrane_hs_mecir config:block.block.cochrane_hs_messages config:block.block.cochrane_hs_news config:block.block.cochrane_hs_onlyinenglishmessage config:block.block.cochrane_hs_onlyinenglishmessageforforauthors config:block.block.cochrane_hs_onlyinenglishmessageforlearn config:block.block.cochrane_hs_onlyinenglishmessageforproductsandservices config:block.block.cochrane_hs_srihandbook config:block.block.cochrane_hs_stylemanual config:block.block.cochrane_hs_toc config:block.block.cochrane_hs_webformlogin user:0 config:block.block.cochrane_hs_dummysearch block_content:28 config:block.block.cochrane_hs_megamenu config:block.block.cochrane_hs_evidencetocliblink config:block.block.cochrane_hs_main_menu config:block.block.cochrane_hs_page_title config:asset_injector.css.temp_top_menu config:asset_injector.css.test_front_page block_view node_view paragraph_view paragraph:1396 config:paragraphs.settings config:filter.format.advanced_html paragraph:1395 paragraph:1394 node:437 paragraph:1392 node:13 paragraph:33 paragraph:1391 node:364 media:107 paragraph:32 node:14 media:694 paragraph:31 node:11 media:108 paragraph:1386 paragraph:1384 node_list:review paragraph:1385 node:415 node:30 node:432 node:15 paragraph:29 node_list:news paragraph:1469 paragraph:1468 node:12 paragraph:1467 node:324 paragraph:1466 node:19 user:1 config:system.site rendered http_response config:user.role.anonymous
Age: 48773
X-Drupal-Dynamic-Cache: MISS
Cache-Control: max-age=0, must-revalidate, public, s-maxage=16588800
X-Content-Type-Options: nosniff
X-Drupal-Cache: HIT

Want the full picture?

This is just one of 100+ checks BeaverCheck runs in a full website audit.

Run Full Audit →

How we grade the results

Each header receives one of three grades: pass (present with a correct, current-best-practice value), warning (present but with a value that is outdated, insufficient, or contains a known weakness), or critical (missing entirely in a context where it should be set). The weighting reflects real-world impact: missing CSP and HSTS on a production HTTPS site are the most severe findings, while a missing Permissions-Policy on a static marketing page is a warning rather than critical. We do not penalize headers that are intentionally absent for a documented reason — for example, X-Frame-Options is now redundant when a CSP frame-ancestors directive is set, and we credit the CSP path. The scoring also adapts to the response: a 301 redirect that ships only the minimum subset of headers is treated differently from a 200 HTML response that should carry the full set. All grading rules are deterministic and visible in the source repository, and the same evaluator runs across both this free tool and the full audit pipeline so results are consistent either way.

Common findings on real sites

Across thousands of public scans, four patterns repeat. First, missing Content-Security-Policy is the most common critical finding — more than half of audited sites ship no CSP at all, leaving inline scripts and event handlers vulnerable to XSS injection. Second, HSTS is often present but configured weakly: a max-age below six months, missing includeSubDomains, or absent from the preload list — meaning the first visit to a subdomain still happens over plaintext. Third, X-Content-Type-Options: nosniff is missing on a surprising number of API responses, allowing MIME-sniffing attacks where a JSON endpoint is reinterpreted as JavaScript by a malicious referring page. Fourth, Permissions-Policy is the newest header and the least adopted: most sites do not deny access to the 10+ powerful browser APIs even when they never use any of them, leaving an XSS-compromised page free to silently activate the user's microphone or geolocation. A site that passes all four checks ends up in the top 5% of the public scan corpus, which is a much stronger signal than a single header grade in isolation.

How to add the missing headers

Most security headers are one line to add. For Nginx, set them in the server or http block with the add_header directive — for example: add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always. The 'always' parameter is important — without it, Nginx skips the header on non-200 responses, leaving error pages unprotected. For Apache, use Header set inside a Directory or VirtualHost block. For Express.js, the helmet middleware sets the full security-header set with sensible defaults in three lines: install helmet, require it, and add app.use(helmet()) before any route. For Cloudflare, the Transform Rules dashboard exposes every header without redeploying — useful for setting CSP and HSTS on origins you do not control. The trickiest header is Content-Security-Policy: a wrong value breaks the page silently, so always start in report-only mode (Content-Security-Policy-Report-Only) for at least a week before switching to enforcement. Use the report-uri or report-to directive to collect violation reports, fix what your application legitimately needs, then promote to enforcing mode. The CSP details panel in this tool's report breaks each directive out separately so you can see exactly which sources your site allows today.

Why these headers actually matter

Security headers are the lowest-effort, highest-impact defense most sites can deploy — they cost nothing to add and they neutralize entire classes of attack at the browser boundary, before your application code runs. CSP turns XSS from a near-total compromise into a logged violation report you can investigate at leisure. HSTS prevents the SSL-stripping attacks that defeat HTTPS on hostile networks, including the rogue Wi-Fi access points common at conferences and coffee shops. X-Frame-Options and frame-ancestors block clickjacking, where an attacker embeds your authenticated UI in a transparent iframe and tricks users into clicking destructive actions. The Cross-Origin trio (COOP, COEP, CORP) was added specifically to mitigate Spectre and Meltdown speculative-execution side channels — without them, a malicious cross-origin embed can read your tab's memory through timing attacks. Permissions-Policy is the youngest header but arguably the most important: a single XSS bug in a page that explicitly allows camera access lets an attacker turn the user's webcam on without UI feedback. None of this replaces other defenses (input validation, parameterized queries, dependency hygiene), but it does buy enormous defense-in-depth at near-zero implementation cost.

Other reports for cochrane.org

Share this result: