Vulnerabilities/

Session Cookie without SameSite Flag

Impact: Medium

Description

The SameSite cookie flag with the right value prevents the browser from sending the cookie in cross-origin requests. It provides some protection against cross-site request forgery attacks (CSRF).

Recommendation

Set SameSite flag for the cookie.

References

Last updated on February 15, 2021

Use SmartScanner Free version to test for this issue

Download