AntiPattern
Cookie Scope and Access
misconfigured-cookie-domain-and-visibility
Cookies set on one host or subdomain fail to be available where the client expects because cookie Domain and HttpOnly semantics are misunderstood; JS can’t read httpOnly values and frameworks may disallow setting cookies in the wrong execution context.