Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54302: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in n8n-io n8n

0
High
VulnerabilityCVE-2026-54302cvecve-2026-54302cwe-79
Published: 06/23/2026 (06/23/2026, 15:46:21 UTC)
Source: CVE Database V5
Vendor/Project: n8n-io
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
n8n-io/n8n
pkg:github/n8n-io/n8n
Affected versions
<1.123.55<2.25.7<2.26.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/23/2026, 16:55:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses