diff --git a/13/mysql-tomcat/.env b/13/mysql-tomcat/.env
index 1e440dc4b2005a7b9305cdf4c92f6cdc4e834a61..8d0abbf97201a6d85293412b42a7e300156a8df7 100644
--- a/13/mysql-tomcat/.env
+++ b/13/mysql-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=13.0
+XWIKI_VERSION=13.1
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/13/mysql-tomcat/Dockerfile b/13/mysql-tomcat/Dockerfile
index 9b3c6343a7bd534bfedf2d5d5914cd2d18a9d436..b08a8bc7ebdea3bfd75280514150e77c1b2dbdd3 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.0"
+ENV XWIKI_VERSION="13.1"
 ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 ae710ab7ec4447429b725cbbdbaa3fd6f6137ce4f3c4f7ba4da097b1a9047d09
+ENV XWIKI_DOWNLOAD_SHA256 885e41640d11cf8a3bb86333f0eb9c7836c138f346a632029402e388694dfa94
 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 b6af68e31f3c643e2b4718b11f785427a6790c83..95b9a3a54fe96c98192a798b7425c626d5632dfd 100644
--- a/13/postgres-tomcat/.env
+++ b/13/postgres-tomcat/.env
@@ -1,5 +1,5 @@
 # Default environment values
-XWIKI_VERSION=13.0
+XWIKI_VERSION=13.1
 DB_USER=xwiki
 DB_PASSWORD=xwiki
 DB_DATABASE=xwiki
diff --git a/13/postgres-tomcat/Dockerfile b/13/postgres-tomcat/Dockerfile
index 4c32981a5e78da54c3d2cd26daa309b056bb9d3f..e315029b8050e3b9bf17d09ea4c7f3b1ae066efa 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.0"
+ENV XWIKI_VERSION="13.1"
 ENV XWIKI_URL_PREFIX "https://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-distribution-war/${XWIKI_VERSION}"
-ENV XWIKI_DOWNLOAD_SHA256 ae710ab7ec4447429b725cbbdbaa3fd6f6137ce4f3c4f7ba4da097b1a9047d09
+ENV XWIKI_DOWNLOAD_SHA256 885e41640d11cf8a3bb86333f0eb9c7836c138f346a632029402e388694dfa94
 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 9eeab1d6f966971a50bcaa5e926c4cde0c37c090..3a70b38c2df44ef9620a6d520e835958f00db229 100644
--- a/build.gradle
+++ b/build.gradle
@@ -35,8 +35,8 @@ def variants = ['mysql-tomcat', 'postgres-tomcat']
 
 def tokens = [
     '13': [
-        xwikiVersion: '13.0',
-        xwikiSha256: 'ae710ab7ec4447429b725cbbdbaa3fd6f6137ce4f3c4f7ba4da097b1a9047d09'
+        xwikiVersion: '13.1',
+        xwikiSha256: '885e41640d11cf8a3bb86333f0eb9c7836c138f346a632029402e388694dfa94'
     ],
     '12': [
         xwikiVersion: '12.10.4',