Security advisory GHSA-9pp3-53p2-ww9v: @vendure/core has a SQL Injection vulnerability
Package: @vendure/core (npm), vulnerable version: 3.5.6, fixed in: 3.5.7
CWE: CWE-89
Files changed by the fix:
b/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js
b/dist/service/helpers/request-context/request-context.service.js
b/dist/service/services/product.service.js

Fix diff:
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js
--- a/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js
+++ b/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js
@@ -113,7 +113,9 @@
         const termLogicalAnd = term
             ? term
                 .trim()
+                .replace(/['":\\!|&()]/g, ' ')
                 .split(/\s+/g)
+                .filter(t => t.length > 0)
                 .map(t => `'${t}':*`)
                 .join(' & ')
             : '';
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map
--- a/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map
+++ b/dist/plugin/default-search-plugin/search-strategy/postgres-search-strategy.js.map
@@ -1 +1 @@
-{"version":3,"file":"postgres-search-strategy.js","sourceRoot":"","sources":["../../../../src/plugin/default-search-plugin/search-strategy/postgres-search-strategy.ts"],"names":[],"mappings":";;;AAAA,yEAAoF;AAEpF,qCAAuD;AAIvD,yDAA8D;AAC9D,2FAAuF;AACvF,4CAAmD;AACnD,mFAAuE;AAIvE,qEAA6D;AAC7D,mEAMiC;AAEjC;;;;GAIG;AACH,MAAa,sBAA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cAAc,IAAI,GAAG,KAAK,WAAW,EAAE,CAAC;gBACxC,IACI,GAAG,KAAK,UAAU;oBAClB,GAAG,KAAK,eAAe;oBACvB,GAAG,KAAK,eAAe;oBACvB,GAAG,KAAK,YAAY,EACtB,CAAC;oBACC,OAAO,cAAc,aAAa,cAAc,KAAK,GAAG,CAAC;gBAC7D,CAAC;qBAAM,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,gBAAgB,EAAE,CAAC;oBAC5E,OAAO,WAAW,aAAa,SAAS,KAAK,GAAG,CAAC;gBACrD,CAAC;qBAAM,CAAC;oBACJ,OAAO,OAAO,aAAa,SAAS,KAAK,GAAG,CAAC;gBACjD,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,OAAO,GAAG,aAAa,QAAQ,KAAK,GAAG,CAAC;YAC5C,CAAC;QACL,CAAC,CAAC;aACD,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;CACJ;AAzQD,wDAyQC"}
\ No newline at end of file
+{"version":3,"file":"postgres-search-strategy.js","sourceRoot":"","sources":["../../../../src/plugin/default-search-plugin/search-strategy/postgres-search-strategy.ts"],"names":[],"mappings":";;;AAAA,yEAAoF;AAEpF,qCAAuD;AAIvD,yDAA8D;AAC9D,2FAAuF;AACvF,4CAAmD;AACnD,mFAAuE;AAIvE,qEAA6D;AAC7D,mEAMiC;AAEjC;;;;GAIG;AACH,MAAa,sBAAsB;IAAnC;QACqB,kBAAa,GAAG,CAAC,CAAC;IA0QvC,CAAC;IAtQG,KAAK,CAAC,IAAI,CAAC,QAAkB;QACzB,IAAI,CAAC,UAAU,GAAG,QAAQ,CAAC,GAAG,CAAC,kDAAuB,CAAC,CAAC;QACxD,IAAI,CAAC,OAAO,GAAG,QAAQ,CAAC,GAAG,CAAC,+BAAmB,CAAC,CAAC;IACrD,CAAC;IAED,KAAK,CAAC,gBAAgB,CAClB,GAAmB,EACnB,KAAkB,EAClB,WAAoB;QAEpB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AC;gBAC7D,CAAC;qBAAM,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,gBAAgB,EAAE,CAAC;oBAC5E,OAAO,WAAW,aAAa,SAAS,KAAK,GAAG,CAAC;gBACrD,CAAC;qBAAM,CAAC;oBACJ,OAAO,OAAO,aAAa,SAAS,KAAK,GAAG,CAAC;gBACjD,CAAC;YACL,CAAC;iBAAM,CAAC;gBACJ,OAAO,GAAG,aAAa,QAAQ,KAAK,GAAG,CAAC;YAC5C,CAAC;QACL,CAAC,CAAC;aACD,IAAI,CAAC,IAAI,CAAC,CAAC;IACpB,CAAC;CACJ;AA3QD,wDA2QC"}
\ No newline at end of file
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/dist/service/helpers/request-context/request-context.service.js /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/dist/service/helpers/request-context/request-context.service.js
--- a/dist/service/helpers/request-context/request-context.service.js
+++ b/dist/service/helpers/request-context/request-context.service.js
@@ -125,8 +125,12 @@
         return channelToken;
     }
     getLanguageCode(req, channel) {
-        var _a, _b;
-        return ((_b = (_a = (req.query && req.query.languageCode)) !== null && _a !== void 0 ? _a : channel.defaultLanguageCode) !== null && _b !== void 0 ? _b : this.configService.defaultLanguageCode);
+        var _a, _b, _c;
+        const queryLanguageCode = (_a = req.query) === null || _a === void 0 ? void 0 : _a.languageCode;
+        // We use a format check rather than an enum check to allow for custom/extended
+        // language codes while still blocking any SQL injection payloads.
+        const isValidFormat = queryLanguageCode && /^[a-zA-Z0-9_-]+$/.test(queryLanguageCode);
+        return ((_c = (_b = (isValidFormat ? queryLanguageCode : undefined)) !== null && _b !== void 0 ? _b : channel.defaultLanguageCode) !== null && _c !== void 0 ? _c : this.configService.defaultLanguageCode);
     }
     getCurrencyCode(req, channel) {
         const queryCurrencyCode = req.query && req.query.currencyCode;
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/dist/service/helpers/request-context/request-context.service.js.map /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/dist/service/helpers/request-context/request-context.service.js.map
--- a/dist/service/helpers/request-context/request-context.service.js.map
+++ b/dist/service/helpers/request-context/request-context.service.js.map
@@ -1 +1 @@
-{"version":3,"file":"request-context.service.js","sourceRoot":"","sources":["../../../../src/service/helpers/request-context/request-context.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAA6F;AAI7F,4CAAoB;AAEpB,mEAAuE;AACvE,yEAAqE;AACrE,yDAA8D;AAC9D,iDAAoD;AACpD,mEAA+D;AAE/D,2EAAiE;AAEjE,oEAAgE;AAChE,0FAAoF;AAEpF;;;;;GAKG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC9B,gBAAgB;IAChB,YACY,cAA8B,EAC9B,aAA4B;QAD5B,mBAAc,GAAd,cAAc,CAAgB;QAC9B,kBAAa,GAAb,aAAa,CAAe;IACrC,CAAC;IAEJ;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CAAC,MAQZ;QACG,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjG,IAAI,OAAgB,CAAC;QACrB,IAAI,cAAc,YAAY,wBAAO,EAAE,CAAC;YACpC,OAAO,GAAG,cAAc,CAAC;QAC7B,CAAC;aAAM,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE,CAAC;YAC5C,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;QAC5E,CAAC;aAAM,CAAC;YACJ,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC;QAC5D,CAAC;QACD,IAAI,OAAkC,CAAC;Q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C,IAAA,mBAAU,GAAE;qCAImB,gCAAc;QACf,8BAAa;GAJ/B,qBAAqB,CA2JjC"}
\ No newline at end of file
+{"version":3,"file":"request-context.service.js","sourceRoot":"","sources":["../../../../src/service/helpers/request-context/request-context.service.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAA6F;AAI7F,4CAAoB;AAEpB,mEAAuE;AACvE,yEAAqE;AACrE,yDAA8D;AAC9D,iDAAoD;AACpD,mEAA+D;AAE/D,2EAAiE;AAEjE,oEAAgE;AAChE,0FAAoF;AAEpF;;;;;GAKG;AAEI,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;IAC9B,gBAAgB;IAChB,YACY,cAA8B,EAC9B,aAA4B;QAD5B,mBAAc,GAAd,cAAc,CAAgB;QAC9B,kBAAa,GAAb,aAAa,CAAe;IACrC,CAAC;IAEJ;;;;;;;OAOG;IACH,KAAK,CAAC,MAAM,CAAC,MAQZ;QACG,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,GAAG,MAAM,CAAC;QACjG,IAAI,OAAgB,CAAC;QACrB,IAAI,cAAc,YAAY,wBAAO,EAAE,CAAC;YACpC,OAAO,GAAG,cAAc,CAAC;QAC7B,CAAC;aAAM,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE,CAAC;YAC5C,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,mBAAmB,CAAC,cAAc,CAAC,CAAC;QAC5E,CAAC;aAAM,CAAC;YACJ,OAAO,GAAG,MAAM,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,CAAC;QAC5D,CAAC;QACD,IAAI,OAAkC,CAAC;QACvC,IAAI,IAAI,EAAE,CAAC;YACP,MAAM,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,0DAA0B,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,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CACJ,CAAA;AA/JY,sDAAqB;gCAArB,qBAAqB;IADjC,IAAA,mBAAU,GAAE;qCAImB,gCAAc;QACf,8BAAa;GAJ/B,qBAAqB,CA+JjC"}
\ No newline at end of file
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/dist/service/services/product.service.js /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/dist/service/services/product.service.js
--- a/dist/service/services/product.service.js
+++ b/dist/service/services/product.service.js
@@ -163,9 +163,11 @@
             .andWhere('product.id IN (' + translationQb.getQuery() + ')')
             .setParameters(translationQb.getParameters())
             .select('product.id', 'id')
-            .addSelect(
-        // eslint-disable-next-line max-len
-        `CASE translation.languageCode WHEN '${ctx.languageCode}' THEN 2 WHEN '${ctx.channel.defaultLanguageCode}' THEN 1 ELSE 0 END`, 'sort_order')
+            .addSelect(`CASE translation.languageCode WHEN :userLang THEN 2 WHEN :defaultLang THEN 1 ELSE 0 END`, 'sort_order')
+            .setParameters({
+            userLang: ctx.languageCode,
+            defaultLang: ctx.channel.defaultLanguageCode,
+        })
             .orderBy('sort_order', 'DESC');
         // We use getRawOne here to simply get the ID as efficiently as possible,
         // which we then pass to the regular findOne() method which will handle
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/dist/service/services/product.service.js.map /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/dist/service/services/product.service.js.map
--- a/dist/service/services/product.service.js.map
+++ b/dist/service/services/product.service.js.map
@@ -1 +1 @@
-{"version":3,"file":"product.service.js","sourceRoot":"","sources":["../../../src/service/services/product.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAS6C;AAE7C,uDAAoD;AACpD,qCAAuD;AAKvD,sDAAqG;AACrG,sGAA4F;AAC5F,4EAA+D;AAG/D,8CAA8D;AAC9D,wFAAoF;AAGpF,+GAAmG;A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AC;QACxD,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAA;AAvaY,wCAAc;yBAAd,cAAc;IAF1B,IAAA,mBAAU,GAAE;IACZ,IAAA,iCAAU,GAAE;qCAKe,kDAAuB;QACnB,gCAAc;QAChB,4BAAY;QACH,+CAAqB;QACzB,uCAAiB;QAClB,qCAAgB;QACf,sCAAiB;QAC1B,oBAAQ;QACH,8BAAa;QACA,0DAA0B;QAC1C,sCAAiB;QACF,wDAAyB;GAfvD,cAAc,CAua1B"}
\ No newline at end of file
+{"version":3,"file":"product.service.js","sourceRoot":"","sources":["../../../src/service/services/product.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,yEAS6C;AAE7C,uDAAoD;AACpD,qCAAuD;AAKvD,sDAAqG;AACrG,sGAA4F;AAC5F,4EAA+D;AAG/D,8CAA8D;AAC9D,wFAAoF;AAGpF,+GAAmG;AACnG,gGAAqF;AACrF,gGAAqF;AACrF,wEAA8D;AAC9D,yDAAqD;AACrD,wFAAmF;AACnF,wEAAoE;AACpE,gHAAyG;AACzG,kHAA4G;AAC5G,yFAAoF;AACpF,6EAAyE;AACzE,yFAAqF;AACrF,iFAA6E;AAE7E,mDAA+C;AAC/C,uDAAmD;AACnD,+DAA0D;AAC1D,iFAA2E;AAC3E,uEAAkE;AAElE;;;;;GAKG;AAGI,IAAM,cAAc,GAApB,MAAM,cAAc;IAGvB,YACY,UAAmC,EACnC,cAA8B,EAC9B,YAA0B,EAC1B,qBAA4C,EAC5C,iBAAoC,EACpC,gBAAkC,EAClC,iBAAoC,EACpC,QAAkB,EAClB,aAA4B,EAC5B,0BAAsD,EACtD,UAA6B,EAC7B,yBAAoD;QAXpD,eAAU,GAAV,UAAU,CAAyB;QACnC,mBAAc,GAAd,cAAc,CAAgB;QAC9B,iBAAY,GAAZ,YAAY,CAAc;QAC1B,0BAAqB,GAArB,qBAAqB,CAAuB;QAC5C,sBAAiB,GAAjB,iBAAiB,C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aAAa,EAAE,SAAS,CAAC,CAC5E,CAAC;QACF,OAAO,IAAA,mBAAW,EAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC,CAAC;IACrD,CAAC;IAEO,KAAK,CAAC,0BAA0B,CAAC,GAAmB,EAAE,SAAa;QACvE,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,GAAG,EAAE,wBAAO,CAAC,CAAC,OAAO,CAAC;YACtE,oBAAoB,EAAE,OAAO;YAC7B,kBAAkB,EAAE,KAAK;YACzB,KAAK,EAAE,EAAE,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,IAAA,gBAAM,GAAE,EAAE;YAC7C,SAAS,EAAE,CAAC,cAAc,EAAE,UAAU,EAAE,kBAAkB,CAAC;SAC9D,CAAC,CAAC;QACH,IAAI,CAAC,OAAO,EAAE,CAAC;YACX,MAAM,IAAI,4BAAmB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;QACxD,CAAC;QACD,OAAO,OAAO,CAAC;IACnB,CAAC;CACJ,CAAA;AA1aY,wCAAc;yBAAd,cAAc;IAF1B,IAAA,mBAAU,GAAE;IACZ,IAAA,iCAAU,GAAE;qCAKe,kDAAuB;QACnB,gCAAc;QAChB,4BAAY;QACH,+CAAqB;QACzB,uCAAiB;QAClB,qCAAgB;QACf,sCAAiB;QAC1B,oBAAQ;QACH,8BAAa;QACA,0DAA0B;QAC1C,sCAAiB;QACF,wDAAyB;GAfvD,cAAc,CA0a1B"}
\ No newline at end of file
diff -ruN --no-dereference /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.6/package.json /home/ubuntu/closed-source-intelligence/data/cache/npm-tarballs/vendure-core-3.5.7/package.json
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "@vendure/core",
-    "version": "3.5.6",
+    "version": "3.5.7",
     "description": "A modern, headless ecommerce framework",
     "repository": {
         "type": "git",
@@ -49,7 +49,7 @@
         "@nestjs/platform-express": "^11.0.12",
         "@nestjs/terminus": "^11.0.0",
         "@nestjs/typeorm": "^11.0.0",
-        "@vendure/common": "3.5.6",
+        "@vendure/common": "3.5.7",
         "bcrypt": "^5.1.1",
         "body-parser": "^1.20.2",
         "cookie-session": "^2.1.0",