n8n stored XSS in webhook responses without sandbox policy
n8n-io n8n
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n-io n8n
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n before 1.123.85, 2.x before 2.43.5, and 2.44.x before 2.44.1 contains a stored cross-site scripting vulnerability because some webhook response paths, such as error responses and responses without headers, omit the sandbox Content-Security-Policy. Authenticated members who can create and activate workflows can serve HTML that runs on the n8n origin, letting scripts act with the session of users who open the webhook URL.
From the CVE record · VulnCheck
Some n8n webhook response paths omit the sandbox Content-Security-Policy. An authenticated member who can create and activate workflows can serve HTML that runs scripts on the n8n origin when another user opens the webhook URL, allowing those scripts to act with that user's session.
Operators of n8n before 1.123.85, 2.x before 2.43.5, or 2.44.x before 2.44.1 should check their deployments.