CVE-2026-47889: Cookie Adapter Null Samesite

The getSameSite() method hardcodes a null return value, dropping the configured SameSite attribute from HTTP response cookies and leaving applications vulnerable to CSRF and cross-site cookie leaks.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-47889-cookie-adapter-null-samesite --engine opengrep

Description

The getSameSite() method hardcodes a null return value, dropping the configured SameSite attribute from HTTP response cookies and leaving applications vulnerable to CSRF and cross-site cookie leaks.