Audit and attack HTTP cookies: HttpOnly/Secure/SameSite flags, domain/path scoping, __Host-/__Secure- prefixes, session fixation, cookie injection & tossing, and jar overflow eviction. (35 payloads)
Set-Cookie: sid=...; HttpOnly; Secure; SameSite=Lax; Path=/Missing HttpOnly on session cookieMissing Secure flagSameSite=None; Secure (cross-site send enabled)Set-Cookie with no SameSite (browser default = Lax)Expires/Max-Age far in the future on auth cookieSameSite=Strict on the session, separate Lax read cookieSet-Cookie: __Host-sid=...; Secure; Path=/Set-Cookie: __Secure-sid=...; Secure; Domain=example.comStrip a __Host- cookie's Secure flag and replaySet-Cookie: sid=...; Path=/admin (path scoping)Compare cookie set on HTTPS vs accessible on HTTPPartitioned (CHIPS): Set-Cookie: id=...; Secure; SameSite=None; PartitionedSet-Cookie: id=...; Domain=.example.comHost-only cookie (no Domain attribute)Set cookie on example.com from sub.example.comAttempt Domain=com / Domain=co.uk (public suffix)Shared cookie between app.example.com and login.example.comhost:1.example.com vs 2.example.com cookie isolationCapture sid pre-login, authenticate, compare sidhttps://app.example.com/?sessionid=KNOWNdocument.cookie='sid=KNOWN' from XSS on a subdomainTest fixation after step-up / re-auth, not just loginSet a second cookie that shadows the real sessiondocument.cookie='session=evil; domain=.example.com; path=/'Set duplicate-name cookie at more specific Path to win precedenceInject via header: param=val%0D%0ASet-Cookie:%20admin=1name=val; injected=value (semicolon/comma in cookie value)__Host- prefix to block tossingCompare server parsing of multiple same-name cookiesSet 180+ junk cookies for a domain to evict the real oneEvict a __Host-CSRF token, leaving a stale tossed oneExceed the ~4KB per-cookie size limitOverflow then observe whether the session falls back insecurelyCookie bomb across shared subdomain to break victim's siteLevel up your security testing
Install the CLI
npx payload-playgroundExplore All Tools
Encoding, hashing, JWT & more
Browse Cheat Sheets
Quick-reference payload guides
It's a quick-reference collection of 35 Cookie Security payloads for testing Cookie Security vulnerabilities during authorized penetration testing, bug bounties, and CTFs. Every payload is copy-ready and grouped by attack context.
Copy any payload straight into your authorized test, or use the HTTP Request Parser to apply them interactively. Only test systems you have explicit permission to assess.
Yes — this cheat sheet and all Cookie Security payloads are completely free, with no account required. Everything runs in your browser.