In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.
Start learningUpgrade n8n-nodes-base to version 1.121.42, 2.31.3, 2.32.1 or higher.
n8n-nodes-base is a Base nodes of n8n
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via improper handling of message fields in the Send Email node. An attacker can access arbitrary files or initiate unauthorized network requests by supplying crafted non-string input to the text or HTML body fields.
Note: This is only exploitable if a pre-existing active workflow with an unauthenticated webhook exists, valid SMTP credentials are configured on the Send Email node, and untrusted input is mapped directly into the text or HTML body field.
This vulnerability can be mitigated by auditing active workflows for Send Email nodes that map untrusted webhook or external data directly into the text or HTML body fields and removing or restricting those workflows, restricting public webhook access at the network or reverse-proxy level, and limiting workflow creation and editing permissions to fully trusted users only.