Missing anti-clickjacking header (X-Frame-Options): is it real, how to fix it, what to tell the customer
Facts
- Scanner finding
- KB-F-0008 · Web and API
- Also known as
- Missing Anti-clickjacking Header, Multiple X-Frame-Options Header Entries, X-Frame-Options Defined via META (Non-compliant with Spec), X-Frame-Options Setting Malformed, Web Application Potentially Vulnerable to Clickjacking, Missing or Permissive Content-Security-Policy frame-ancestors HTTP Response Header, Missing or Permissive X-Frame-Options HTTP Response Header, Frameable response (potential Clickjacking), Content security policy: allows clickjacking
- Tool IDs
- ZAP 10020 "Anti-clickjacking Header": 10020-1 "Missing Anti-clickjacking Header", 10020-2 "Multiple X-Frame-Options Header Entries", 10020-3 "X-Frame-Options Defined via META (Non-compliant with Spec)", 10020-4 "X-Frame-Options Setting Malformed"; related ZAP 10055-13 "CSP: Failure to Define Directive with No Fallback"; Nessus 85582 "Web Application Potentially Vulnerable to Clickjacking", 50344 "Missing or Permissive Content-Security-Policy frame-ancestors HTTP Response Header", 50345 "Missing or Permissive X-Frame-Options HTTP Response Header"; nuclei
http-missing-security-headers, matcherx-frame-options; Burp 0x005009a0 "Frameable response (potential Clickjacking)" and 0x00200507 "Content security policy: allows clickjacking" - Standard
- CWE-1021, as ZAP cites it; the HTML Standard for
X-Frame-Options, which supersedes RFC 7034; CSP Level 3 forframe-ancestors - Lab
- scanner-findings-b3, runs 13 to 15: nginx 1.30.8, Apache httpd 2.4.71, Express 5.3.0, helmet 8.3.0, images pinned by digest
- Test
tests/frame-options.sh url..., answers FINDING or COULD NOT TELL- Next review
- 2027-06-01
Short answer
The finding (ZAP 10020; Nessus 85582, 50344, 50345; nuclei http-missing-security-headers; Burp 0x005009a0, 0x00200507) says an HTML page did not limit which sites may frame it. It is real unless the page sends a frame-ancestors that limits framing ('self', 'none' or named sites, not * or https:) or, without frame-ancestors, exactly one X-Frame-Options value, DENY or SAMEORIGIN (repeats count as one; several values with DENY, SAMEORIGIN or ALLOWALL block every frame). A wildcard on a shared domain (https://*.hosting.example) lets every site there frame the page.
1. What the scanner saw
ZAP 10020 is passive. At the default threshold it reads only HTML responses with a body, and skips redirects, 4xx and 5xx. If a
Content-Security-Policyheader contains the textframe-ancestors, with any value, the rule stops there. Otherwise: noX-Frame-Optionsraises 10020-1 (Medium), a value without the wordsdenyorsameoriginraises 10020-4, more than one header line raises 10020-2, and anX-Frame-Optionsmeta tag raises 10020-3. At the Low threshold it also reads redirects, errors and other text content types, and checksX-Frame-Optionsnext toframe-ancestorsat Low risk (rule source at commit afb5113e).ZAP 10055-13 comes from the separate CSP rule. It lists
frame-ancestorsandform-actionas directives that do not fall back todefault-src, and names whichever of them a policy leaves out or opens with a wildcard (CSP rule source). The alert's "other info" field says which.nuclei
http-missing-security-headerssends one GET and may follow up to three redirects. Itsx-frame-optionsmatcher fires when the textx-frame-optionsappears nowhere in the response headers and the status is not 301 or 302. It never readsContent-Security-Policyfor this matcher, so a page that relies onframe-ancestorsalone is reported, and any value, evenALLOW-FROM, silences it (template at commit eb28249).Nessus 85582 is rated Medium and says the server does not set either header "in all content responses"; it depends on Tenable's crawler (
webmirror.nasl). 50344 and 50345 are Info and cover a header that is missing or permissive (85582, 50344, 50345). Tenable's code is not public.Burp rates both of its issues Information (0x005009a0, 0x00200507).
2. Is it real on your system?
curl -sS -D - -o /dev/null https://app.example.com/ | grep -iE '^(HTTP/|x-frame-options|content-security-policy)'
Run it on the URL from the report and on one page behind sign-in, with your session cookie (-b 'session=...'). The finding is real when the output shows any of these, read the way the HTML Standard and CSP 3 tell browsers to read it:
neither header;
a
frame-ancestorswhose every list allows any site (*, orhttp:,https:,ws:,wss:bare or ashttps://*; other schemes such aschrome-extension:do not); browsers then ignoreX-Frame-Options, evenDENY;no
frame-ancestors, and anX-Frame-Optionswhose values, lower-cased with repeats counted once, are one value other thandenyorsameorigin(ALLOW-FROMincluded), or several values none of which isdeny,sameoriginorallowall. The HTML Standard treats both as no header. Several different values that include one of those three are not this finding: browsers then block every frame, your own included.
On our nginx with defaults the command printed HTTP/1.1 200 OK and nothing else. With the headers added it also printed X-Frame-Options: SAMEORIGIN and Content-Security-Policy: frame-ancestors 'self'.
What a header in the output does not show, each seen in our lab:
Other routes. Our nginx sent both headers on
/and none on/app/, which had anadd_header Cache-Controlof its own. A check of/alone shows the headers.Signed-in pages. Our sign-in page sent both headers; the account page behind it sent none. Without the cookie,
/accountis only a redirect to/login, so a scanner and a plaincurlboth read the sign-in page.The page behind a redirect. Our
http://URL redirected to HTTPS withX-Frame-Options: DENYon the redirect, and the HTTPS page had no header.curl -sIon the reported URL showsDENY. The same happened with/redirecting to/home/.Error pages. A mistyped URL that returns 404 with the header shows
DENY; the real page returned 200 without it.DENYnext toframe-ancestors *. The grep showsX-Frame-Options: DENY, and ZAP 10020 stays silent because the CSP mentionsframe-ancestors; only ZAP 10055-13 names the directive. Browsers follow the CSP.default-src. CSP 3: "frame-ancestors will not fall back to the default-src directive's value". Our target withdefault-src 'self'and nothing else raised ZAP 10020-1.Meta tags. MDN: an
X-Frame-Optionsmeta tag "has no effect" (MDN). CSP 3: "The frame-ancestors directive MUST be ignored when contained in a policy declared via a meta element."Report-only.
Content-Security-Policy-Report-Onlyis not enforced; itsframe-ancestorslimits nothing.Two
frame-ancestorsin one policy.frame-ancestors *; frame-ancestors 'none'is read as*: CSP 3 keeps the first directive of a name and skips the rest (CSP 3, parsing). ZAP 10020 stays silent on it.
3. How serious it is for you
Our view: usually Low, sometimes Medium, and cheap to address. Clickjacking needs three things at once: a page where a click or two completes an action, the visitor signed in inside the frame, and a page of the attacker's that the visitor opens. Settings toggles, "delete", "approve", "connect account" and OAuth consent screens are the pages that matter.
Check your session cookie. MDN says a Lax cookie is not sent for "navigations inside <iframe> elements" from another site (MDN Set-Cookie), and Strict is narrower. In that case the framed page shows the visitor signed out. A session cookie with SameSite=None, which embedded apps and some single sign-on setups need, keeps the full risk, and so do actions that work without a session. MDN: "Some browsers use Lax as the default value if SameSite is not specified"; others do not.
Marketing pages, documentation and public pages with no actions carry little risk. Customers still ask for the header on every page.
Accepted risk is reasonable for a page built to be embedded (a widget, a booking form, a page inside a partner's portal), with frame-ancestors naming the sites that embed it.
4. Fix it on your platform
Each section quotes the vendor's documentation. Warnings marked "our warning" are ours. Lines marked "lab-tested" ran in our lab exactly as printed.
Our warnings, for every platform:
List the sites that frame your pages on purpose before adding anything: a partner portal, an LMS, a CRM, a preview pane in your admin on another subdomain.
SAMEORIGINmeans the same scheme, host and port; CSP'self'means the same, and also accepts an HTTPS page framing its HTTP version. Neither covers your other subdomains: a page onapp.example.comin a frame onwww.example.comstops loading with either (HTML Standard, CSP 3).Sites that must frame you go into
frame-ancestors, for exampleframe-ancestors 'self' https://partner.example.com;X-Frame-Optionscannot name them.DENYstops your own frames too.Set the headers in one layer: a second
frame-ancestorsfrom a proxy does not replace the app's, and a frame has to be allowed by both.
nginx (lab-tested on 1.30.8)
nginx documentation (add_header):
Adds the specified field to a response header provided that the response code equals 200, 201 (1.3.10), 204, 206, 301, 302, 303, 304, 307 (1.1.16, 1.0.13), or 308 (1.13.0).
These directives are inherited from the previous configuration level if and only if there are no add_header directives defined on the current level.
If the always parameter is specified (1.7.5), the header field will be added regardless of the response code.
Lab-tested, in the server block:
add_header X-Frame-Options "SAMEORIGIN" always;
add_header Content-Security-Policy "frame-ancestors 'self'" always;
For add_header_inherit (nginx 1.29.3 and later) the documentation says: "The merge parameter enables appending values from the previous level to the values defined at the current level." Lab-tested: add_header_inherit merge; in the server block kept both headers on a location with its own add_header. For proxied apps (proxy_hide_header): "The proxy_hide_header directive sets additional fields that will not be passed." Lab-tested: proxy_hide_header X-Frame-Options; next to proxy_pass.
Our warnings:
A
locationwith anyadd_headerof its own drops both lines. In our lab/app/had no frame header.The same rule works one level up: the two lines in
serverstopadd_headerlines set athttplevel, such asStrict-Transport-Security, from being sent by that server. In our lab anhttp-levelStrict-Transport-Securityreached the server withoutadd_headerlines and not the one with the two frame lines. Repeat thehttp-level lines in theserverblock, or useadd_header_inherit merge;(1.29.3 and later), which in our lab brought it back on/and/app/.In front of an app that sends
X-Frame-Options, nginx's line makes a second copy unless the app's is hidden; our nginx sent two. Browsers read two equal values as one, but ZAP reports the second line as 10020-2, and two different values block every frame.In front of an app with its own CSP, nginx's line is a second policy. Our app listed
https://partner.example.test; with nginx'sframe-ancestors 'self'the response carried both lists, and under CSP 3 the partner can no longer frame the page (we did not try it in a browser). Putframe-ancestorsin one layer, or give both lists the same sites.Run
nginx -tbefore reloading; the documentation: "test the configuration file" (command line).
Apache httpd (lab-tested on 2.4.71)
mod_headers documentation (Header):
The optional condition argument determines which internal table of responses headers this directive will operate against: onsuccess (default, can be omitted) or always.
always is not a superset of onsuccess with respect to existing headers
set: The response header is set, replacing any previous header with this name.
unset: The response header of this name is removed, if it exists.
Lab-tested, in the virtual host:
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
Header always set Content-Security-Policy "frame-ancestors 'self'"
Our warnings:
Header always set X-Frame-Optionsalone, in front of a proxied app that sends the header, gave two copies in our lab (ZAP: 10020-2). Theonsuccess unsetline removed the app's copy.In front of an app with its own CSP,
Header always set Content-Security-Policyadded a second policy next to the app's, with the same partner effect as on nginx.Header set Content-Security-Policywithoutalwaysreplaced the app's whole policy: the response carried onlyframe-ancestors 'self', and the app'sscript-src,object-srcand other directives were gone. Do not use that form in front of an app that sends a CSP.The documentation says headers from a CGI script or
mod_proxy_fcgi(PHP-FPM) "are in the table corresponding to always". We did not run that case.The lines need mod_headers. On Debian and Ubuntu, "a2enmod is a script that enables the specified module" (
a2enmod):a2enmod headers. Thenapachectl configtest, which the documentation describes as "Run a configuration file syntax test." (apachectl).
Express and Node.js (lab-tested on Express 5.3.0, helmet 8.3.0)
helmet README (helmet): app.use(helmet()); "This will set 13 HTTP response headers in your app." Among them the default X-Frame-Options: SAMEORIGIN and this default policy:
default-src 'self'; base-uri 'self'; font-src 'self' https: data:; form-action 'self'; frame-ancestors 'self'; img-src 'self' data:; object-src 'none'; script-src 'self'; script-src-attr 'none'; style-src 'self' https: 'unsafe-inline'; upgrade-insecure-requests
Lab-tested (it needs the helmet package; the README imports it with import helmet from "helmet";, our CommonJS app used require('helmet')):
app.use(helmet());
The raw header from our helmet() target carried that policy and X-Frame-Options: SAMEORIGIN. The README: "These directives are merged into a default policy". Lab-tested, to let one partner frame the app:
app.use(
helmet({
contentSecurityPolicy: {
directives: { frameAncestors: ["'self'", 'https://partner.example.test'] },
},
}),
);
Our warnings: helmet() changes more than framing. Try it on staging first.
The default policy's
script-src 'self'limits scripts to your own origin, so scripts loaded from other origins stop running; the other default directives do the same for styles, images, fonts and forms.Cross-Origin-Opener-Policy: same-origin(README default) can break sign-in and payment popups that talk back throughwindow.opener.Cross-Origin-Resource-Policy: same-origin(README: it "blocks others from loading your resources cross-origin in some cases") can stop other sites loading your images and files.Strict-Transport-Security: max-age=31536000; includeSubDomains(README default): once a browser has received it over HTTPS, it refuses plain HTTP on every subdomain for a year, which breaks HTTP-only subdomains.The default policy's
upgrade-insecure-requestsmakes browsers fetchhttp:images, scripts and styles over HTTPS, so files served only over plain HTTP stop loading.Referrer-Policy: no-referrer(README default) removes theRefererheader that some analytics, partner and payment flows read.
The README also gives each header as standalone middleware, for example "You can use this as standalone middleware with app.use(helmet.xFrameOptions())" (from the README, not run by us). With helmet({ contentSecurityPolicy: false }), which the README gives to disable the CSP header, the response from our app carried X-Frame-Options: SAMEORIGIN and no frame-ancestors.
Django and Rails (from documentation, not run by us)
Django (clickjacking protection): "This middleware is enabled in the settings file generated by startproject." and "By default, the middleware will set the X-Frame-Options header to DENY for every outgoing HttpResponse." The setting
X_FRAME_OPTIONS = "SAMEORIGIN"changes the value.Rails (security guide):
X-Frame-Options"is set to SAMEORIGIN by default", andconfig.action_dispatch.default_headers["X-Frame-Options"] = "DENY"inconfig/application.rboverrides it.
Our warning: a finding on either usually means the middleware or default header was removed, a view was exempted, or a proxy in front drops the header.
IIS (from documentation, not run by us)
Microsoft's sample (IIS custom headers): "The following configuration sample sets a custom HTTP header and value", with <add name="X-Custom-Name" value="MyCustomValue" /> under <system.webServer><httpProtocol><customHeaders>. Our warning: put X-Frame-Options and SAMEORIGIN in place of the sample's name and value; if the application sets the header too, remove one source, since we did not check how IIS combines them.
Cloudflare (from documentation, not run by us)
Cloudflare (response header modification): "Add operations append a new header without removing existing headers of the same name, while Set operations replace all existing headers of that name." Our warning: Set for X-Frame-Options avoids a second copy; Set for Content-Security-Policy replaces the origin's whole policy, and Add makes a second policy.
AWS (from documentation, not run by us)
CloudFront (response headers policies): for
X-Frame-Options, "Valid values for this setting are DENY or SAMEORIGIN", and each security header has an origin override setting "that determines how CloudFront behaves when the response from the origin contains that header". The managedSecurityHeadersPolicylistsX-Frame-Options SAMEORIGINwith override "No" (managed policies).Application Load Balancer: listener attribute
routing.http.response.x_frame_options.header_value(ListenerAttribute); "If the response from target includes the HTTP response header, the load balancer updates the header value to be the configured value." (ALB header modification).
Our warning: with override "No", an origin that sends its own value keeps it.
Vercel and Netlify (from documentation, not run by us)
Vercel (vercel.json): the example sets
{ "key": "X-Frame-Options", "value": "DENY" }for"source": "/(.*)".Netlify (custom headers): "Here's an example of setting the X-Frame-Options header for all pages on your site: /* X-Frame-Options: DENY". Also: "If you are proxying content to your site or dealing with a URL handled by a function or edge function such as a server-side rendered (SSR) page, custom headers won't be applied to that content."
Our warning: both examples use DENY, which stops your own frames; use SAMEORIGIN if you frame your own pages.
5. What to tell the customer
Example wording, adapt to what is true.
Headers added:
Thank you for the report. Pages on app.example.com now send
Content-Security-Policy: frame-ancestors 'self'andX-Frame-Options: SAMEORIGIN. Attached are the response headers forand for a signed-in page, captured on .
Not a page:
The URL in the report returns JSON to our own front end (or: a redirect to
), not a page that a browser shows in a frame. The headers of are attached, .
Embedded on purpose:
is built to be embedded by . It sends frame-ancestors 'self' https://partner.example.com. We review the list on.
Evidence to attach: curl -sS -D - output for the URLs in the report and for one signed-in page, with the date.
6. Test: finding or could not tell
Our script frame-options.sh, run as sh frame-options.sh url..., requests each listed URL once and reads the headers the way the HTML Standard and CSP 3 tell a browser to. It answers only two things:
FINDING (exit 1): a listed page was fetched, and it carried no frame header; or a
frame-ancestorswhose every list allows any site (*, a host of*, orhttp:,https:,ws:orwss:, bare or with a host of*; other schemes count as a list); or, withoutframe-ancestors, anX-Frame-Optionswhose values, lower-cased and with repeats counted once, are one value other thandenyorsameorigin, or several values none of which isdeny,sameoriginorallowall. Several different values that include one of those give COULD NOT TELL, with a note that browsers then block every frame. Several CSP headers and comma-joined policies count as separate policies, a secondframe-ancestorsin one policy is ignored, folded header lines are joined, and report-only policies and meta tags do not count.COULD NOT TELL (exit 2): everything else, including no finding. It prints what each response carried, for example "the response carried frame-ancestors (policy 1): 'self'", and notes such as a host wildcard (
https://*.example.com) that lets every subdomain under it frame the page. It also answers COULD NOT TELL for no HTTP answer, a status other than 2xx, a 400 (ashttp://sent to a TLS port gets), a redirect to a URL that is not listed (query string included), a redirect to itself, a redirect chain that loops or never reaches a page that was read, a response that is not HTML, a URL that is nothttp://orhttps://, and a missing tool.
There is no exit 0. The rule was written before the record runs.
Run it on your host:
sh frame-options.sh https://app.example.com/ https://app.example.com/login https://app.example.com/settings, one URL per route group and per proxied app. For pages behind sign-in,COOKIE='session=...' sh frame-options.sh https://app.example.com/settings; a COOKIE value without=answers COULD NOT TELL, since curl would read it as a file name. It needs a POSIX shell,curl,awk,grep,sed,tr,head,tailandmktemp, and answers COULD NOT TELL if one is missing. It ignores certificate errors (-k) and proxy variables. We ran it with GNU tools (Debian) and with BusyBox (Alpine), with the same results.What it cannot see: URLs and route groups you did not list (our nginx case that dropped the headers on
/app/gave no finding with only/listed); signed-in pages, unless you passCOOKIE; a proxy's second policy that locks out a partner, or one that replaced the app's whole CSP (it prints each policy it got); answers that differ by method, user agent or cookie; a host your own list names. It does not run a browser.
7. What we ran
Record runs 13 to 15, 2026-11-29: nginx 1.30.8, Apache httpd 2.4.71, Express 5.3.0, helmet 8.3.0, Node.js 22, images pinned by digest. In each run the 61 cases gave the same answer on the GNU and the BusyBox client, and with curl, awk, grep, sed, tail or mktemp removed from PATH the test answered COULD NOT TELL on both. "Could not tell" in the table means the test printed what the response carried and no finding.
| Target | Config | Our test | ZAP 2.17.0 baseline | nuclei 3.11.1 |
|---|---|---|---|---|
| nginx 80 | defaults | FINDING: no frame header | 10020-1 | x-frame-options |
| nginx 8080 | the printed snippet | could not tell; carried frame-ancestors 'self', SAMEORIGIN |
no 10020 | none |
| nginx 8081 | headers in server, /app/ with its own add_header |
FINDING with /app/ listed; could not tell with / alone |
run 13: 10020-1 on /app/; runs 14 and 15: none |
none (requests / only) |
| nginx 8082 | same plus add_header_inherit merge |
could not tell; both headers carried on / and /app/ |
not run | not run |
| nginx 8083 | X-Frame-Options: DENY and frame-ancestors * |
FINDING | no 10020; 10055-13 names frame-ancestors |
none |
| nginx 8084 | default-src 'self' only |
FINDING | 10020-1, 10055-13 | not run |
| nginx 8085 | ALLOW-FROM |
FINDING | 10020-4 | none |
| nginx 8086 / 8087 | proxy to an app with XFO, nginx adds one / plus proxy_hide_header |
could not tell, two equal lines (note) / could not tell, one line | 8086: 10020-2 | not run |
| nginx 8088 | XFO and frame-ancestors in meta tags only |
FINDING | 10020-1 (on /app/ too except in run 14), 10020-3 |
x-frame-options |
| nginx 8089 | frame-ancestors 'none' in report-only |
FINDING | not run | not run |
| nginx 8090 | frame-ancestors *; frame-ancestors 'none' |
FINDING (first directive counts) | no 10020; 10055-13 names frame-ancestors |
not run |
| nginx 8091 | lower-case header names, FRAME-ANCESTORS 'SELF', x-frame-options with spaces |
could not tell; values printed | not run | not run |
| nginx 8092 / 8093 | two CSP lines / two comma-joined policies, one without a wildcard | could not tell | not run | not run |
| nginx 8094 | X-Frame-Options: SAMEORIGIN, DENY in one line |
could not tell, with the note that browsers block every frame | no 10020 | none |
| nginx 8095 | frame-ancestors https: |
FINDING | not run | not run |
| nginx 8096 | frame-ancestors self (unquoted) |
could not tell, with a note that it names a host called self |
not run | not run |
| nginx 8097 | / redirects to /home/, header on the redirect only |
redirect alone: could not tell (target not listed); with /home/ listed: FINDING |
runs 13 and 15: 10020-1 under / and /home/; run 14: none |
x-frame-options on /home/ |
| nginx 8098 | http:// redirects to HTTPS 8444, header on the redirect only |
redirect alone: could not tell; with the HTTPS URL listed: FINDING | not run | none; see below |
| nginx 8099 | header on 404 pages only | 404 URL: could not tell; /: FINDING |
10020-1 on / |
x-frame-options |
| nginx 8100 | proxy adds frame-ancestors 'self', app lists a partner |
could not tell; prints both policies and the note | not run | not run |
| nginx 8101 / 8102 | / redirects to itself / /a and /b redirect to each other |
could not tell: redirects to itself / the redirect chain loops | not run | not run |
| nginx 8104 / 8105 | frame-ancestors https://*.example.com / *.com |
could not tell, with the host-wildcard note | not run | not run |
| nginx 8106 / 8107 | X-Frame-Options: ALLOWALL-X, INVALID / sameorigin and SAMEORIGIN lines |
FINDING / could not tell (one value after lower-casing) | not run | not run |
| raw server 8086 | /page redirects to ?lang=en, that page has no header |
redirect alone: could not tell; with /page?lang=en listed: FINDING |
not run | not run |
| nginx 8108 / 8109 / 8110 | frame-ancestors 'self' chrome-extension: / chrome-extension://* / wss: |
could not tell / could not tell / FINDING | not run | not run |
| nginx 8443 / 8444 | HTTPS with the snippet / without a header | could not tell / FINDING | not run | not run |
| raw server 8085 | X-Frame-Options: DENY, CSP folded over two lines with frame-ancestors * |
FINDING (lines joined) | not run | not run |
http:// to 8443, https:// to 80, /data.json |
wrong scheme, wrong scheme, JSON | could not tell in all three | not run | not run |
| Apache, defaults | static page, proxied app with XFO | FINDING on the static page | not run | not run |
Apache, Header always set only |
static / proxied app | could not tell / could not tell, two equal XFO lines (note) | 10020-2 on /app/ |
not run |
| Apache, the printed snippet | static and proxied app | could not tell; one XFO, frame-ancestors 'self' |
not run | not run |
| Apache 8081 / 8082 | app with its own CSP; always set / set |
could not tell; two policies / one policy, the app's gone | not run | not run |
| Express | defaults / helmet() / XFO only / partner listed |
FINDING / could not tell / could not tell / could not tell | defaults: 10020-1 on /app/ in all three runs, on / in runs 13 and 14 |
helmet(): none |
| Express sign-in | /account alone / with /login / with COOKIE / COOKIE without = |
could not tell / could not tell (stated limit) / FINDING / could not tell | not run | not run |
a port that never answers, an SSH port, an unknown host, an ftp:// URL, no URL |
negative cases | could not tell in all five | not run | not run |
The runs were done by Claude Opus 5.5 (agent) on an internal Docker network with no outside access. Expected results were written before each round of runs and are in the lab's results folder with the raw outputs, image digests and file hashes. Runs 1 to 3 used an earlier version of the test with a pass answer; an independent check rejected that, and they are kept as history, with run 4 (loop message missing), an interrupted run 5, runs 7 to 9, which counted repeated X-Frame-Options values as a finding, and runs 10 to 12, which counted every bare scheme in frame-ancestors as open to any site.
Surprises kept on record:
nuclei stayed silent on 8098. A debug run showed one request and the 301 answer: nuclei did not follow the redirect to the other scheme and port, and the matcher skips 301 responses. It did follow the same-port redirect on 8097, and matched 8444 when given that URL.
ZAP's 10020 varied between runs on the same targets. In runs 13 to 15 the rule filed 10020-1 on 8081
/app/only in run 13, on 8097 (under the redirecting/, whose answer its log records as 200, and/home/) in runs 13 and 15 but not 14, and on the Express defaults page/in runs 13 and 14 only. Earlier runs on the same targets varied the same way. We did not find the cause. One baseline scan with no 10020 does not show that the header is there.ZAP's CSP rule 10055-13 named
frame-ancestorsin its "other info" field on every CSP that left framing open, including the cases where 10020 is silent (8083, 8090). On the targets withframe-ancestors 'self'it still fired, naming onlyform-action.The first start of the lab ran the test, but not the scanners: the run script gave Docker a relative folder. It is kept as a smoke folder.
Sources
Primary records first. Record identifiers link from the facts box.
Scanner rules and tool documentation
- ZAP, alert 10020, accessed 2026-11-29
- ZAP, alert 10020-1, accessed 2026-11-29
- ZAP, alert 10020-2, accessed 2026-11-29
- ZAP, alert 10020-3, accessed 2026-11-29
- ZAP, alert 10020-4, accessed 2026-11-29
- ZAP, alert 10055-13, accessed 2026-11-29
- ZAP, AntiClickjackingScanRule.java at commit afb5113e (Apache 2.0), accessed 2026-11-29
- ZAP, ContentSecurityPolicyScanRule.java at commit afb5113e (Apache 2.0), accessed 2026-11-29
- Tenable, Nessus plugin 85582, accessed 2026-11-29
- Tenable, Nessus plugin 50344, accessed 2026-11-29
- Tenable, Nessus plugin 50345, accessed 2026-11-29
- ProjectDiscovery, nuclei template http-missing-security-headers.yaml at commit eb28249 (MIT), accessed 2026-11-29
- PortSwigger, issue 0x005009a0, accessed 2026-11-29
- PortSwigger, issue 0x00200507, accessed 2026-11-29
Standards and specifications
- WHATWG, HTML Standard, the X-Frame-Options header, accessed 2026-11-29
- W3C, Content Security Policy Level 3, accessed 2026-11-29
- IETF, RFC 7034, accessed 2026-11-29
Vendor documentation and statements
- MDN, X-Frame-Options, accessed 2026-11-29
- MDN, Set-Cookie, accessed 2026-11-29
- nginx, add_header and add_header_inherit, accessed 2026-11-29
- nginx, proxy_hide_header, accessed 2026-11-29
- nginx, command-line parameters, accessed 2026-11-29
- Apache httpd, mod_headers, accessed 2026-11-29
- Apache httpd, apachectl, accessed 2026-11-29
- Debian, a2enmod manual page, accessed 2026-11-29
- helmet README, accessed 2026-11-29
- Django, clickjacking protection, accessed 2026-11-29
- Rails, security guide, accessed 2026-11-29
- Microsoft, IIS custom headers, accessed 2026-11-29
- Cloudflare, response header modification, accessed 2026-11-29
- AWS, CloudFront response headers policies, accessed 2026-11-29
- AWS, CloudFront managed response headers policies, accessed 2026-11-29
- AWS, ALB header modification, accessed 2026-11-29
- AWS, ListenerAttribute API reference, accessed 2026-11-29
- Vercel, vercel.json, accessed 2026-11-29
- Netlify, custom headers, accessed 2026-11-29
Our lab
- Our lab, arviser-labs at commit b94caf9, scanner-findings-b3, accessed 2026-11-29
- Our test, frame-options.sh, accessed 2026-11-29
- Our lab, runs 13 to 15 of 2026-11-29: raw outputs, image digests and file hashes, accessed 2026-11-29
Corrections
No corrections.
Report an error to contact@arviser.com.
How this page was made: Claude Opus 5.5, an AI model, built and ran the lab and wrote this page from the sources listed. Separate AI agents checked the claims and the lab test in four rounds; the page and the test's rule were corrected after the first three, and the fourth, on 1 December 2026, found nothing that had to be fixed. Vadim Nareyko approved the family template and the sample pages on 26 November 2026, from a summary in Russian. This page was not reviewed by Vadim Nareyko. On 28 November 2026 Vadim Nareyko decided that new pages in the family are published after the linters and an independent check, without that review.
Text and data on this page: CC BY 4.0. Code in our lab: MIT. Quoted third-party material keeps its own terms.