All vulnerabilities

Servers and applications

GHSA-c2wp-6fgc-xjq4

Stored DOM XSS via Resource Locator Dropdown Link Handling

Severity
Medium 6.9
Published
16 Sept 2026
Last changed
16 Sept 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.123.80, 2.39.6, 2.40.1
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change some data
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:L/SI:L/SA:N
Sources
Project advisories (GitHub)

Description

A Resource Locator parameter stores a URL that its dropdown offers as an external link, and that URL was opened without checking its scheme. A workflow author could set it to a script URL, so arbitrary JavaScript ran in the editor origin when another user opened the node's dropdown and clicked the external-link icon. The value is persisted in the workflow and served back to anyone who opens, imports or is shared it.

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.
  • Audit shared and imported workflows for Resource Locator parameters containing unexpected URL values and remove any that are not recognized.

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.80
  • Every version before 2.40.1
  • Every version before 2.39.6

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