mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 20:24:05 -08:00
fix(Code Node): Disable WASM to address CVE-2023-37903 (#7122)
[GH Advisory](https://github.com/advisories/GHSA-g644-9gfx-q4q4)
This commit is contained in:
parent
4f203fc37e
commit
36a8e911e6
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue