CMSV6Help Center
/
839 DOCS · 211 VIDEOS中文

Cookie SameSite properties are not configured or are not configured properly

Author daiweiqiangUpdated 2026-08-12 16:36:36Doc ID 274571 words · 1 min readView original ↗

1 problem description

Cookies are not configured with SameSite attributes or are not configured properly, which may lead to Cross- Site Request Forgery (CSRF)
The unreasonable configuration of SameSite attributes is as follows:
1)samesite = None; but no Secure;
2)samesite = Secure; but no other configuration information

2 operating instructions

Open the CMSServerV6\tomcat\conf\context.xml file and add the CookieProcessor configuration in the <Context> tab. Restart the web service.

<CookieProcessor className="org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="lax" />

Source help.cmsv7.com
839 documents · 211 videos · docs.alwaycare.com