Skip to content

Commit

Permalink
fix(Code Node): Disable WASM to address CVE-2023-37903 (n8n-io#7122)
Browse files Browse the repository at this point in the history
[GH Advisory](GHSA-g644-9gfx-q4q4)
  • Loading branch information
netroy authored Sep 6, 2023
1 parent 4f203fc commit 36a8e91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nodes-base/nodes/Code/JavaScriptSandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export class JavaScriptSandbox extends Sandbox {
console: 'redirect',
sandbox: context,
require: vmResolver,
wasm: false,
});

this.vm.on('console.log', (...args: unknown[]) => this.emit('output', ...args));
Expand Down

0 comments on commit 36a8e91

Please sign in to comment.