diff --git a/core/base-service/base-graphql.spec.js b/core/base-service/base-graphql.spec.js
index 99b5a55824cf3cc0e62378bc232076dd0e138a22..7cfbef8da2c9bb3ae5a7b617a66b52666bf6dc39 100644
--- a/core/base-service/base-graphql.spec.js
+++ b/core/base-service/base-graphql.spec.js
@@ -48,7 +48,7 @@ describe('BaseGraphqlService', function () {
       expect(requestFetcher).to.have.been.calledOnceWith(
         'http://example.com/graphql',
         {
-          body: '{"query":"{\\n  requiredString\\n}\\n","variables":{}}',
+          body: '{"query":"{\\n  requiredString\\n}","variables":{}}',
           headers: { Accept: 'application/json' },
           method: 'POST',
         }
@@ -80,7 +80,7 @@ describe('BaseGraphqlService', function () {
       expect(requestFetcher).to.have.been.calledOnceWith(
         'http://example.com/graphql',
         {
-          body: '{"query":"{\\n  requiredString\\n}\\n","variables":{}}',
+          body: '{"query":"{\\n  requiredString\\n}","variables":{}}',
           headers: { Accept: 'application/json' },
           method: 'POST',
           searchParams: { queryParam: 123 },
diff --git a/package-lock.json b/package-lock.json
index 0dab8ec5d6ea6eb221a70e3ce376006f476cb8bd..de8ec554043ce25afcdca3ec38b271781b7662b2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -30,7 +30,7 @@
         "glob": "^10.2.7",
         "global-agent": "^3.0.0",
         "got": "^13.0.0",
-        "graphql": "^15.6.1",
+        "graphql": "16.6.0",
         "graphql-tag": "^2.12.6",
         "joi": "17.9.2",
         "joi-extension-semver": "5.0.0",
@@ -13322,11 +13322,11 @@
       }
     },
     "node_modules/graphql": {
-      "version": "15.8.0",
-      "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz",
-      "integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw==",
+      "version": "16.6.0",
+      "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz",
+      "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==",
       "engines": {
-        "node": ">= 10.x"
+        "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0"
       }
     },
     "node_modules/graphql-tag": {
@@ -37889,9 +37889,9 @@
       }
     },
     "graphql": {
-      "version": "15.8.0",
-      "resolved": "https://registry.npmjs.org/graphql/-/graphql-15.8.0.tgz",
-      "integrity": "sha512-5gghUc24tP9HRznNpV2+FIoq3xKkj5dTQqf4v0CpdPbFVwFkWoxOM+o+2OC9ZSvjEMTjfmG9QT+gcvggTwW1zw=="
+      "version": "16.6.0",
+      "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz",
+      "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw=="
     },
     "graphql-tag": {
       "version": "2.12.6",
diff --git a/package.json b/package.json
index ee140600470ddb392b049eaea2f2746667a0fc1e..d8a53cc3086e0835b3147981b3b61ad7eef3834e 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
     "glob": "^10.2.7",
     "global-agent": "^3.0.0",
     "got": "^13.0.0",
-    "graphql": "^15.6.1",
+    "graphql": "16.6.0",
     "graphql-tag": "^2.12.6",
     "joi": "17.9.2",
     "joi-extension-semver": "5.0.0",