diff --git a/composer.lock b/composer.lock
index 465e32e2b6380981e1a000a52877cb1e81611693..aef64aa59217b3a664ea316a566a13d96c7be8bb 100644
--- a/composer.lock
+++ b/composer.lock
@@ -448,7 +448,7 @@
             "dist": {
                 "type": "path",
                 "url": "core",
-                "reference": "74774df5d4617d3526ff010605474301d9fa376f"
+                "reference": "231d26e39bada8a65354596fd06da9d68e402440"
             },
             "require": {
                 "asm89/stack-cors": "^2.0.2",
@@ -488,7 +488,7 @@
                 "symfony/serializer": "^5.4",
                 "symfony/validator": "^5.4",
                 "symfony/yaml": "^5.4",
-                "twig/twig": "^3.0"
+                "twig/twig": "^3.3.8"
             },
             "conflict": {
                 "drush/drush": "<8.1.10"
@@ -4339,16 +4339,16 @@
         },
         {
             "name": "twig/twig",
-            "version": "v3.3.7",
+            "version": "v3.3.8",
             "source": {
                 "type": "git",
                 "url": "https://github.com/twigphp/Twig.git",
-                "reference": "8f168c6ffa3ce76d1786b3cd52275424a3fc675b"
+                "reference": "972d8604a92b7054828b539f2febb0211dd5945c"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/twigphp/Twig/zipball/8f168c6ffa3ce76d1786b3cd52275424a3fc675b",
-                "reference": "8f168c6ffa3ce76d1786b3cd52275424a3fc675b",
+                "url": "https://api.github.com/repos/twigphp/Twig/zipball/972d8604a92b7054828b539f2febb0211dd5945c",
+                "reference": "972d8604a92b7054828b539f2febb0211dd5945c",
                 "shasum": ""
             },
             "require": {
@@ -4399,7 +4399,7 @@
             ],
             "support": {
                 "issues": "https://github.com/twigphp/Twig/issues",
-                "source": "https://github.com/twigphp/Twig/tree/v3.3.7"
+                "source": "https://github.com/twigphp/Twig/tree/v3.3.8"
             },
             "funding": [
                 {
@@ -4411,7 +4411,7 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2022-01-03T21:15:37+00:00"
+            "time": "2022-02-04T06:59:48+00:00"
         }
     ],
     "packages-dev": [
diff --git a/composer/Metapackage/CoreRecommended/composer.json b/composer/Metapackage/CoreRecommended/composer.json
index 20bc852afdf1a3daac02f087699f3f5bbec8e7e3..4e748b2610b1fe3ddb152086d08ec2971061b7a3 100644
--- a/composer/Metapackage/CoreRecommended/composer.json
+++ b/composer/Metapackage/CoreRecommended/composer.json
@@ -59,6 +59,6 @@
         "symfony/validator": "v5.4.2",
         "symfony/var-dumper": "v5.4.2",
         "symfony/yaml": "v5.4.2",
-        "twig/twig": "v3.3.7"
+        "twig/twig": "v3.3.8"
     }
 }
diff --git a/core/composer.json b/core/composer.json
index 11df3bd60780b79ca253fd26aa6ed993cb32f28e..3f41631c6a69a25c3a9c5238cc008eef75690290 100644
--- a/core/composer.json
+++ b/core/composer.json
@@ -31,7 +31,7 @@
         "symfony/polyfill-iconv": "^1.0",
         "symfony/polyfill-php80": "^1.16",
         "symfony/yaml": "^5.4",
-        "twig/twig": "^3.0",
+        "twig/twig": "^3.3.8",
         "doctrine/annotations": "^1.12",
         "guzzlehttp/guzzle": "^7.3.0",
         "laminas/laminas-feed": "^2.12",