diff --git a/spring-boot-project/spring-boot-docs/pom.xml b/spring-boot-project/spring-boot-docs/pom.xml
index f48f590589d..52df2318431 100644
--- a/spring-boot-project/spring-boot-docs/pom.xml
+++ b/spring-boot-project/spring-boot-docs/pom.xml
@@ -867,6 +867,11 @@
thymeleaf-extras-springsecurity4
true
+
+ org.thymeleaf.extras
+ thymeleaf-extras-springsecurity5
+ true
+
org.yaml
snakeyaml