diff --git a/13/mysql-tomcat/.env b/13/mysql-tomcat/.env
index 843a6d7a4d361f2cde9688881eabb463699fac6c..2cd011f8053c813e6d32ce418bb4b7c896e360f7 100644
--- a/13/mysql-tomcat/.env
+++ b/13/mysql-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=13.4
+XWIKI_VERSION=13.5
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/13/mysql-tomcat/Dockerfile b/13/mysql-tomcat/Dockerfile
index a79c73bd72beb789d9b4ae2080a143447c119756..c013cb35d55375c29ea70c8534d14aa60ac292b5 100644
--- a/13/mysql-tomcat/Dockerfile
+++ b/13/mysql-tomcat/Dockerfile
@@ -43,9 +43,9 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION="13.4"
+ENV XWIKI_VERSION="13.5"
 ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 b9fcf40879203b6237fa1e88a45cec8cd681e5b1bf11949f03daa19b762d5765
+ENV XWIKI_DOWNLOAD_SHA256 3294abb19636ab2e51930f88fa9a449dd98f1aa5b2ca8d6b1a32a5ff4dd22889
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/13/postgres-tomcat/.env b/13/postgres-tomcat/.env
index 89d4d893d60d22898695be48d220a6244cb0433a..ba0365792400047b7b91bd54a5a5dc9775a9c4a9 100644
--- a/13/postgres-tomcat/.env
+++ b/13/postgres-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=13.4
+XWIKI_VERSION=13.5
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/13/postgres-tomcat/Dockerfile b/13/postgres-tomcat/Dockerfile
index 8b4e5482e1636ca70085e5f4e0bd9f5f816857bd..953855e62a317bbef26b0a84c9d35b349b1c88d5 100644
--- a/13/postgres-tomcat/Dockerfile
+++ b/13/postgres-tomcat/Dockerfile
@@ -44,9 +44,9 @@ RUN apt-get update && \
 # Install XWiki as the ROOT webapp context in Tomcat
 # Create the Tomcat temporary directory
 # Configure the XWiki permanent directory
-ENV XWIKI_VERSION="13.4"
+ENV XWIKI_VERSION="13.5"
 ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 b9fcf40879203b6237fa1e88a45cec8cd681e5b1bf11949f03daa19b762d5765
+ENV XWIKI_DOWNLOAD_SHA256 3294abb19636ab2e51930f88fa9a449dd98f1aa5b2ca8d6b1a32a5ff4dd22889
 RUN rm -rf /usr/local/tomcat/webapps/* && \
   mkdir -p /usr/local/tomcat/temp && \
   mkdir -p /usr/local/xwiki/data && \
diff --git a/build.gradle b/build.gradle
index f46a7710b365d859726fc24d2ecd4c0097b67941..3e64ebc28131dffa8157e637cbffc3ba084e5b9f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,8 +35,8 @@ def variants = ['mysql-tomcat', 'postgres-tomcat']
 
 def tokens = [
     '13': [
-        xwikiVersion: '13.4',
-        xwikiSha256: 'b9fcf40879203b6237fa1e88a45cec8cd681e5b1bf11949f03daa19b762d5765'
+        xwikiVersion: '13.5',
+        xwikiSha256: '3294abb19636ab2e51930f88fa9a449dd98f1aa5b2ca8d6b1a32a5ff4dd22889'
     ],
     '12': [
         xwikiVersion: '12.10.8',