Upgrade to [Spring Security 6.5.3](https://github.com/spring-projects/spring-security/releases/tag/6.5.3).