What it is
The SameSite attribute for sensitive cookies is not set, or an insecure value is used.
Impact on systems
| Scope | Impact |
|---|---|
| Confidentiality, Integrity, Non-Repudiation, Access Control | Modify Application Data If the None value is used, a website may create a cross-domain POST HTTP request to another website, and the browser automatically adds cookies to this request. This may enable Cross-Site-Request-Forgery (CSRF) attacks if there are no additional protections in place (such as Anti-CSRF tokens). The likelihood of the integrity breach is Low because a successful attack does not depend solely on an insecure SameSite attribute. In order to perform a CSRF attack, many other conditions might need to be met, such as the lack of CSRF tokens, no confirmations for sensitive actions on the website, a simple Content-Type header in the HTTP request, etc. |
How to prevent it
Source: MITRE CWE catalog · Official entry on the MITRE website