CVE-2026-54302: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in n8n-io n8n
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 inject arbitrary JavaScript into the Chat Trigger's generated page by setting a malicious webhookId. When a logged-in user visited the chat URL, the injected code executed in the n8n origin with that user's session privileges. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.
AI Analysis
Technical Summary
CVE-2026-54302 is a CWE-79 cross-site scripting vulnerability in the n8n workflow automation platform. It affects versions prior to 1.123.55, 2.25.7, and 2.26.2. An authenticated user with workflow edit permissions can inject malicious JavaScript by setting a crafted webhookId in the Chat Trigger. When another authenticated user visits the chat URL, the injected script executes in the context of the n8n origin with that user's session privileges, potentially leading to session hijacking or other client-side attacks. The vulnerability is resolved in the specified fixed versions.
Potential Impact
This vulnerability allows an authenticated user with workflow edit access to inject and execute arbitrary JavaScript in the context of other authenticated users visiting the chat URL. This can lead to unauthorized actions performed with the victim's session privileges, such as session hijacking or data theft. The CVSS 4.0 base score is 7.0 (high), reflecting network attack vector, low attack complexity, no privileges required beyond workflow edit access, and high impact on confidentiality.
Mitigation Recommendations
Upgrade n8n to version 1.123.55, 2.25.7, or 2.26.2 or later, where this vulnerability is fixed. No other mitigations are indicated or required according to the available data.
CVE-2026-54302: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in n8n-io n8n
Description
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 inject arbitrary JavaScript into the Chat Trigger's generated page by setting a malicious webhookId. When a logged-in user visited the chat URL, the injected code executed in the n8n origin with that user's session privileges. This vulnerability is fixed in 1.123.55, 2.25.7, and 2.26.2.
CVSS v4.0
Score 7.0high
Affected software
pkg:github/n8n-io/n8nRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54302 is a CWE-79 cross-site scripting vulnerability in the n8n workflow automation platform. It affects versions prior to 1.123.55, 2.25.7, and 2.26.2. An authenticated user with workflow edit permissions can inject malicious JavaScript by setting a crafted webhookId in the Chat Trigger. When another authenticated user visits the chat URL, the injected script executes in the context of the n8n origin with that user's session privileges, potentially leading to session hijacking or other client-side attacks. The vulnerability is resolved in the specified fixed versions.
Potential Impact
This vulnerability allows an authenticated user with workflow edit access to inject and execute arbitrary JavaScript in the context of other authenticated users visiting the chat URL. This can lead to unauthorized actions performed with the victim's session privileges, such as session hijacking or data theft. The CVSS 4.0 base score is 7.0 (high), reflecting network attack vector, low attack complexity, no privileges required beyond workflow edit access, and high impact on confidentiality.
Mitigation Recommendations
Upgrade n8n to version 1.123.55, 2.25.7, or 2.26.2 or later, where this vulnerability is fixed. No other mitigations are indicated or required according to the available data.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-12T17:46:37.294Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3ab6d9eed863c81e4f9ea3
Added to database: 06/23/2026, 16:39:53 UTC
Last enriched: 06/23/2026, 16:55:51 UTC
Last updated: 06/23/2026, 18:09:40 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.