All vulnerabilities

Servers and applications

GHSA-29xw-66fq-4xc3

Stored XSS via Same-Origin Blob URL in the Binary-Data File Preview

Severity
High 7.2
Published
30 Sept 2026
Last changed
30 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.83, 2.41.4, 2.42.1
Attack
Over the network · Only under certain conditions · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Sources
Project advisories (GitHub)

Description

Binary-data responses are served under a policy that forces them into an opaque origin. The file-preview modal instead re-published the bytes as a same-origin URL in an iframe without the sandbox attribute, and the protecting header does not survive that step. A member who uploads a crafted item can have script run in the n8n origin of whoever previews it, normally the owner reviewing that member's execution output, and act with that person's session.

From n8n-io/n8n's security advisory.

Workarounds

If upgrading is not immediately possible, administrators should consider the following temporary mitigations:

  • Restrict n8n instance access to fully trusted users only.
  • Avoid opening binary file previews in execution output for executions produced by untrusted members until the instance is patched.
  • Enable a restrictive N8N_CONTENT_SECURITY_POLICY to provide a secondary line of defence against script execution in the n8n origin.

These workarounds do not fully remediate the risk and should only be used as short-term mitigation measures.

Workarounds as given by n8n-io/n8n's security advisory.

Affected software

SoftwareAffected versions
n8nServers and applications · github:n8n-io/n8n
  • Every version before 1.123.83
  • Every version before 2.42.1
  • Every version before 2.41.4

About n8n

low-code automation tool

From Wikidata, CC0 1.0.
Weekly downloads (npm)
103,525npm, 15 Nov 2026
Docker Hub pulls
286,090,810Docker Hub, 15 Nov 2026
GitHub stars
210,541GitHub, 15 Nov 2026
Forks
61,525GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
13 Nov 2026GitHub
Written in
TypeScript, Node.jsWikidata
First released
2019Wikidata
First published on GitHub
22 Jun 2019GitHub

References