n8n is an open source workflow automation platform. Prior to 1.123.55, 2.25.7, and 2.26.2, an authenticated user with workflow edit access could configure a Respond to Webhook node to serve binary content with an attacker-controlled Content-Type. The binary response path bypassed the central Content-Security-Policy sandbox header, allowing a public webhook to execute JavaScript in the n8n origin when visited by an authenticated user, with access to that user's session. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.
{
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54301.json",
"cwe_ids": [
"CWE-79"
]
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.123.55"
},
{
"introduced": "2.0.0"
},
{
"fixed": "2.25.7"
},
{
"introduced": "2.26.0"
},
{
"fixed": "2.26.2"
}
],
"source": "CPE_RANGE",
"cpe": "cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:*"
}