The Set-Cookie value has no valid name=value pair.
COOKIE_INVALID · Severity: Error
- Error
COOKIE_INVALIDThe Set-Cookie value has no valid name=value pair.
A cookie starts with name=value before any attribute, and a quoted value has a closing quote and no semicolon or comma inside. Otherwise browsers store a cookie with an empty name, cut the value short or drop the header. The evidence names the problem.
Recommendation: Start the value with the cookie's name, an equals sign and its value, and keep semicolons and commas out of the value.
Reported by
Available through the API
Related findings
- Info
COOKIE_LONG_LIFETIMEThe cookie asks to live longer than the 400 days browsers allow. - Info
COOKIE_MULTIPLEThe text holds more than one cookie; only the first was checked. - Warning
COOKIE_NOT_SECUREThe HTTPS site sets a cookie without the Secure attribute. - Info
COOKIE_NO_HTTPONLYThe cookie can be read by scripts (no HttpOnly attribute). - Info
COOKIE_NO_SAMESITEThe cookie has no SameSite attribute. - Warning
COOKIE_NO_SECUREThe cookie has no Secure attribute.