Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Checks cookie security attributes such as Secure, HttpOnly, SameSite, Domain, Path, and Expires for session token exposure.
Use this skill ↓64% 77%+14 ptsof test cases passed
Passed 17 of 22 test cases with the skill, and 14 of 22 without it.
A pentester identifies that an application session cookie PHPSESSID lacks the HttpOnly attribute, leaving it accessible to document.cookie in client-side scripts. What is the CVSS v3 score and severity classification for missing HttpOnly on session cookies?
Identify the CVSS base score as 6.1.
3 of 3 safety checks passed
WSTG-SESS-02
Testing for Cookies Attributes
Cookie attributes control how browsers handle cookies, including security restrictions. Improperly configured cookie attributes can expose session tokens to theft via XSS attacks, man-in-the-middle attacks, or cross-site request forgery. This test examines whether cookies are configured with appropriate security attributes including Secure, HttpOnly, SameSite, Domain, Path, and Expires/Max-Age.
| Attribute | Missing Impact |
|---|---|
| Secure | Token sent over HTTP |
| HttpOnly | XSS can steal token |
| SameSite | CSRF attacks possible |
| Proper Domain | Subdomain attacks |
| Proper Path | Broader exposure |
Next to this one in the catalogue, plus more from the same author.