We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 56ed444 + 1b0d777 commit 6014dafCopy full SHA for 6014daf
1 file changed
user_guide_src/source/libraries/security.rst
@@ -71,6 +71,12 @@ Config for CSRF
71
CSRF Protection Methods
72
-----------------------
73
74
+.. warning:: If you use :doc:`Session <./sessions>`, be sure to use Session based
75
+ CSRF protection. Cookie based CSRF protection will not prevent Same-site attacks.
76
+ See
77
+ `GHSA-5hm8-vh6r-2cjq <https://github.com/codeigniter4/shield/security/advisories/GHSA-5hm8-vh6r-2cjq>`_
78
+ for details.
79
+
80
By default, the Cookie based CSRF Protection is used. It is
81
`Double Submit Cookie <https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html#double-submit-cookie>`_
82
on OWASP Cross-Site Request Forgery Prevention Cheat Sheet.
0 commit comments