Description
n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain a stored DOM cross-site scripting vulnerability in Resource Locator parameter dropdown link handling. Workflow authors can inject malicious script URLs that execute arbitrary JavaScript in the editor origin when other users open the node dropdown and click the external-link icon, with the payload persisting across workflow imports and shares.
Published: 2026-10-01
Score: 6.9 Medium
EPSS: n/a
KEV: No
Impact: Stored DOM Cross‑Site Scripting
Action: Immediate Patch
AI Analysis

Impact

The vulnerability is a stored DOM XSS in n8n's Resource Locator dropdown link handling. Authoring a workflow that contains a malicious script URL causes arbitrary JavaScript to execute in the editor's origin when another user opens the node dropdown and clicks the external‑link icon. The payload persists across workflow imports and shares, giving the attacker permanent exposure to affected participants.

Affected Systems

Affected versions are n8n prior to 1.123.80, 2.39.6, and 2.40.1, for all releases from 2.0.0 onward. The product is distributed by n8n‑io under the name n8n.

Risk and Exploitability

The CVSS score of 6.9 indicates moderate severity, and the EPSS score is not available; the vulnerability is not listed in CISA’s KEV catalog. Exploitation requires that an attacker first create or upload a workflow containing the malicious URL, then a victim must view that workflow or import it. The JavaScript runs in the victim’s browser, impacting their session data and potential access to other workflows. Based on the description, it is inferred that the attack may target confidentiality and integrity of the victim’s data. As the attack vector is user‑driven rather than network‑directed, the overall likelihood of exploitation is moderate, but the impact can be significant for organizations that share and reuse workflows.

Generated by OpenCVE AI on October 1, 2026 at 14:46 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade n8n to a supported release that includes the fix, such as 1.123.80, 2.39.6, or 2.40.1 or later.
  • Review existing workflows for embedded script URLs in the Resource Locator field and remove or sanitise them. Export a clean copy if necessary.
  • Restrict workflow creation and editing permissions to trusted users and enforce code‑review or safe‑link policies on shared workflows.
  • Enforce network or application‑level controls to block execution of arbitrary JavaScript from untrusted sources within the editor, if available.

Generated by OpenCVE AI on October 1, 2026 at 14:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 01 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 01 Oct 2026 11:00:00 +0000

Type Values Removed Values Added
Description n8n versions before 1.123.80, from 2.0.0 before 2.39.6, and from 2.40.0 before 2.40.1 contain a stored DOM cross-site scripting vulnerability in Resource Locator parameter dropdown link handling. Workflow authors can inject malicious script URLs that execute arbitrary JavaScript in the editor origin when other users open the node dropdown and click the external-link icon, with the payload persisting across workflow imports and shares.
Title n8n before 1.123.80, 2.39.6, and 2.40.1 Stored DOM XSS via Resource Locator
First Time appeared N8n
N8n n8n
Weaknesses CWE-79
CPEs cpe:2.3:a:n8n:n8n:*:*:*:*:*:*:*:*
Vendors & Products N8n
N8n n8n
References
Metrics cvssV3_1

{'score': 7.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N'}

cvssV4_0

{'score': 6.9, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-01T15:03:30.143Z

Reserved: 2026-09-30T10:52:32.249Z

Link: CVE-2026-103249

cve-icon Vulnrichment

Updated: 2026-10-01T15:03:26.638Z

cve-icon NVD

Status : Deferred

Published: 2026-10-01T11:17:18.430

Modified: 2026-10-01T15:17:26.320

Link: CVE-2026-103249

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T23:30:14Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')