p PatchFirst

CVE-2026-54301

CVE-2026-54301 · n8n: Same-Origin XSS in Respond to Webhook Node

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.0 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • n8n

    Versions
    • < 1.123.55: Affected
    • >= 2.0.0-rc.0, < 2.25.7: Affected
    • >= 2.26.0, < 2.26.2: Affected

    No fix published

  • n8n npm

    Affected ranges
    • SEMVER: < 1.123.55

    Update to 1.123.55

  • n8n npm

    Affected ranges
    • SEMVER: ≥ 2.26.0, < 2.26.2

    Update to 2.26.2

  • n8n npm

    Affected ranges
    • SEMVER: ≥ 2.0.0-rc.0, < 2.25.7

    Update to 2.25.7

Original sources

Check your server →