What the issue means
A cookie without HttpOnly can be read by client-side JavaScript if an XSS issue exists.
Security fix guide
A cookie without HttpOnly can be read by client-side JavaScript if an XSS issue exists.
Run Full Website Security ScanA cookie without HttpOnly can be read by client-side JavaScript if an XSS issue exists.
HttpOnly helps protect session cookies from theft through injected scripts.
Inspect Set-Cookie headers and look for HttpOnly on sensitive cookies.
Set HttpOnly on session and authentication cookies that do not need JavaScript access.
Prefer application code; proxy_cookie_flags can add HttpOnly in reverse proxy setups.Prefer application code; Header edit Set-Cookie can help in some legacy configurations.cookies().set("session", value, { httpOnly: true, secure: true, sameSite: "lax" });Use application-level fixes where possible.