mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
🐛 Improve expression security
This commit is contained in:
parent
dec81a171a
commit
7a37f73eae
|
@ -112,6 +112,9 @@ export class Expression {
|
|||
versions: process.versions,
|
||||
};
|
||||
|
||||
// @ts-ignore
|
||||
data.document = {};
|
||||
|
||||
// Execute the expression
|
||||
try {
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call
|
||||
|
|
Loading…
Reference in a new issue