Intel

AIKIDO-2024-10088

n8n-core is vulnerable to Code Injection

Code InjectionCVE-2024-4367 Published May 9, 2024

80

High Risk

This Affects:

JSn8n-core
1.37.2 - 1.40.0
Fixed in 1.41.0
Are you affected? Scan for Free

TL;DR

Affected versions of the n8n-core package are vulnerable to code injection due to a bug in the pdfjs-dist dependency. If PDF.js is used to load a malicious PDF and is configured with isEvalSupported set to true (the default), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. In the fixed version, n8n-core mitigates this by setting isEvalSupported to false.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

n8n-core is vulnerable to Code Injection in versions 1.37.2 - 1.40.0.

How to fix this

Upgrade the n8n-core library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform