CVE-2025-24900: Client Cookie Missing Samesite

A sensitive cookie is being set without the `SameSite` attribute. Without `SameSite=Strict` or `Lax`, the browser may send this cookie in cross-origin requests, exposing the application to Cross-Site Request Forgery (CSRF) or authentication bypasses.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0TS
greprules fetch cve-2025-24900-client-cookie-missing-samesite --engine opengrep

Description

A sensitive cookie is being set without the `SameSite` attribute. Without `SameSite=Strict` or `Lax`, the browser may send this cookie in cross-origin requests, exposing the application to Cross-Site Request Forgery (CSRF) or authentication bypasses.