Skip to content
Spiderfootplus

Type to search. Press / or Ctrl K from any page.

Correlation rule · LOW risk

Cookie set without HttpOnly

A cookie is set without the HttpOnly attribute, so page scripts can read it. For a session or sign-in cookie that makes token theft easier if the site ever has a cross-site scripting flaw. Set HttpOnly on any cookie that client-side JavaScript does not need to read.

LOWcookie_no_httponly

What the finding looks like

Cookie set without HttpOnly: {entity.data}

Placeholders in braces are filled from the matching event.

What to do

  1. Set the HttpOnly attribute on session and authentication cookies so scripts cannot read them.

Events it looks at

Modules that can trigger it

See it in a scan

$ spiderfootplus scan example.com$ spiderfootplus show <scan-id>        # findings at the bottom$ spiderfootplus rules                  # every rule and its risk