There are some bug tasks related on CSRF token.
CSRF token was introduced long time ago with rPWBC79151ce0 I guess but there are some follow up tasks and patches:
But there where some upcoming bugs and tests failures which should be fixes. This task is just a tracker for those.