Security headers report for Drupal
51 out of 98 points
Poor. Critical security headers are missing and the site is significantly exposed.
| Status | Header | Current value | Score | Findings and recommendations |
|---|---|---|---|---|
|
Strict-Transport-Security
HSTS
Tells browsers to only use HTTPS for all future requests. Prevents protocol downgrade attacks and cookie hijacking.
|
max-age=15552000; includeSubDomains; preload
|
12/15 |
|
|
|
X-Frame-Options
XFO
Protects against clickjacking by controlling whether the site can be embedded in iframes. Largely superseded by CSP frame-ancestors but still widely supported.
|
SAMEORIGIN
|
8/8 |
|
|
|
X-Content-Type-Options
XCTO
Prevents browsers from MIME-sniffing a response away from the declared content type, reducing exposure to drive-by download attacks.
|
nosniff
|
8/8 |
|
|
|
Content-Security-Policy
CSP
The most powerful security header. It controls which resources the browser may load, which mitigates XSS, data injection and other code injection attacks.
|
frame-ancestors 'self'
|
16/25 |
|
|
|
Referrer-Policy
RP
Controls how much referrer information is sent with requests. Restricting it protects user privacy and avoids leaking sensitive URLs.
|
Not set | 0/8 |
Recommended:
strict-origin-when-cross-origin
|
|
|
Permissions-Policy
PP
Controls access to browser features and APIs such as the camera, microphone and geolocation. Replaces the deprecated Feature-Policy header.
|
interest-cohort=()
|
4/8 |
|
|
|
X-XSS-Protection
XXP
Legacy header for the XSS filter in older browsers. Modern browsers ignore it and a strong CSP is preferred. A wrong value can introduce vulnerabilities.
|
Not set | 3/5 |
Recommended:
0
|
|
|
Cross-Origin-Embedder-Policy
COEP
Prevents a document from loading cross-origin resources that do not explicitly grant permission. Required for cross-origin isolation.
|
Not set | 0/7 |
Recommended:
require-corp
|
|
|
Cross-Origin-Opener-Policy
COOP
Isolates the browsing context group, which protects against cross-origin attacks such as XS-Leaks and Spectre.
|
Not set | 0/7 |
Recommended:
same-origin
|
|
|
Cross-Origin-Resource-Policy
CORP
Says whether other sites may include the resource, which protects against some cross-origin information leaks and side-channel attacks.
|
Not set | 0/7 |
Recommended:
same-origin
|
These headers may reveal details about the server software and technology stack.
| Risk | Header | Value | Advice |
|---|---|---|---|
| medium | Server | Apache |
Remove or mask the Server header so it does not disclose the web server software and version. |
| medium | X-Generator | Drupal 11 (https://www.drupal.org) |
Remove the X-Generator header so it does not disclose your CMS and its version. |
| low | X-Drupal-Cache | HIT |
The X-Drupal-Cache header reveals that the site runs Drupal. Consider removing it in production. |
| low | X-Drupal-Dynamic-Cache | UNCACHEABLE (poor cacheability) |
The X-Drupal-Dynamic-Cache header reveals Drupal's caching internals. Consider removing it in production. |
| low | Via | 1.1 varnish |
The Via header reveals proxy server information. Consider masking it in production. |