VariantIncomplete
CWE-1275Sensitive Cookie with Improper SameSite Attribute
Category: data-exposure
Description
The SameSite attribute for sensitive cookies is not set, or an insecure value is used.
The SameSite attribute controls how cookies are sent for cross-domain requests. This attribute may have three values: 'Lax', 'Strict', or 'None'. 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 lead to Cross-Site-Request-Forgery (CSRF) attacks if there are no additional protections in place (such as Anti-CSRF tokens).
Common consequences· 1
- Confidentiality / Integrity / Non-Repudiation / Access Control — Modify Application DataIf the website does not impose additional defense against CSRF attacks, failing to use the 'Lax' or 'Strict' values could increase the risk of exposure to CSRF attacks. The likelihood of the integrity breach is Low because a successful attack does not only depend on an insecure SameSite attribute. In order to perform a CSRF attack there are many conditions that must 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 and many more.
Potential mitigations· 1
- [Implementation]Set the SameSite attribute of a sensitive cookie to 'Lax' or 'Strict'. This instructs the browser to apply this cookie only to same-domain requests, which provides a good Defense in Depth against CSRF attacks. When the 'Lax' value is in use, cookies are also sent for top-level cross-domain navigation via HTTP GET, HEAD, OPTIONS, and TRACE methods, but not for other HTTP methods that are more like to cause side-effects of state mutation.
Related CAPEC attack patterns· 1
References
Exploits (incoming)1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| AttackPattern | Cross Site Request Forgerycapec-62 | 100% | live |
(incoming)14
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Vulnerability | CVE-2025-24897cve-2025-24897 | 0% | live |
| Vulnerability | CVE-2025-52628cve-2025-52628 | 0% | live |
| Vulnerability | CVE-2026-8409cve-2026-8409 | 0% | live |
| Vulnerability | CVE-2026-8410cve-2026-8410 | 0% | live |
| Vulnerability | CVE-2026-8411cve-2026-8411 | 0% | live |
| Vulnerability | CVE-2026-8412cve-2026-8412 | 0% | live |
| Vulnerability | CVE-2026-8413cve-2026-8413 | 0% | live |
| Vulnerability | CVE-2026-8414cve-2026-8414 | 0% | live |
| Vulnerability | CVE-2026-8415cve-2026-8415 | 0% | live |
| Vulnerability | CVE-2026-8416cve-2026-8416 | 0% | live |
| Vulnerability | CVE-2026-8427cve-2026-8427 | 0% | live |
| Vulnerability | CVE-2026-8432cve-2026-8432 | 0% | live |
| Vulnerability | CVE-2026-8433cve-2026-8433 | 0% | live |
| Vulnerability | CVE-2026-8434cve-2026-8434 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.