Property
Languagephp
Severitylow
CWECWE-1275: Sensitive Cookie with Improper SameSite Attribute
OWASPA01:2021 - Broken Access Control
Confidence LevelLow
Impact LevelLow
Likelihood LevelLow

Description#

Found a configuration file where the same_site attribute is not set to ’lax’ or ‘strict’. Setting ‘same_site’ to ’lax’ or ‘strict’ restricts cookies to a first-party or same-site context, which will protect your cookies and prevent CSRF.