CVE-2026-54303
Received Received - Intake
Reflected XSS in n8n Workflow Automation Platform

Publication date: 2026-06-23

Last updated on: 2026-06-23

Assigner: GitHub, Inc.

Description
n8n is an open source workflow automation platform. Prior to 2.24.0, an endpoint in the Meta and Microsoft Teams trigger nodes reflects a query parameter into the HTTP response without sanitization or Content-Security-Policy headers, enabling reflected XSS in the n8n origin when a logged-in user visits a crafted URL. This vulnerability is fixed in 2.24.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-23
Last Modified
2026-06-23
Generated
2026-06-23
AI Q&A
2026-06-23
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
n8n n8n to 2.24.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-54303 is a reflected Cross-Site Scripting (XSS) vulnerability in the n8n workflow automation platform versions prior to 2.24.0.

The vulnerability occurs in the Meta (Facebook, WhatsApp) and Microsoft Teams trigger nodes, where a query parameter is reflected in the HTTP response without proper sanitization or Content-Security-Policy headers.

This allows an attacker to execute malicious scripts in the context of a logged-in user's session by tricking them into visiting a specially crafted URL.

Impact Analysis

This vulnerability can impact you by allowing an attacker to execute malicious scripts in your browser when you visit a crafted URL while logged into n8n.

The impact is primarily on confidentiality, as the attacker could potentially access sensitive information available in the user's session.

There is no impact on the integrity or availability of the system.

Exploitation requires low privileges and user interaction.

Detection Guidance

This vulnerability is a reflected Cross-Site Scripting (XSS) issue in n8n versions prior to 2.24.0, specifically in the Meta and Microsoft Teams trigger nodes where a query parameter is reflected without sanitization.

Detection involves identifying if your n8n instance is running a vulnerable version and if the affected endpoints reflect query parameters unsafely.

You can test for the vulnerability by crafting a URL with a script payload in the query parameter targeting the Meta or Microsoft Teams trigger endpoints and observing if the script is reflected in the HTTP response.

Example commands to detect the vulnerability include using curl or wget to send requests with a test script payload and inspecting the response for reflected script tags.

  • curl -i 'http://<n8n-host>/webhook/meta?param=<script>alert(1)</script>'
  • curl -i 'http://<n8n-host>/webhook/microsoft-teams?param=<script>alert(1)</script>'

If the response contains the injected script without sanitization or Content-Security-Policy headers, the system is vulnerable.

Mitigation Strategies

The primary mitigation is to upgrade n8n to version 2.24.0 or later, where this vulnerability is fixed.

As temporary mitigations before upgrading, you can restrict workflow creation permissions to trusted users only to reduce the risk of exploitation.

Another temporary mitigation is to disable the affected Meta and Microsoft Teams trigger nodes by setting the NODES_EXCLUDE environment variable.

Compliance Impact

The vulnerability is a reflected Cross-Site Scripting (XSS) issue that allows execution of malicious scripts in the context of a logged-in user's session, potentially exposing confidential information.

Such exposure of confidential data through reflected XSS can impact compliance with standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive information from unauthorized access or disclosure.

Therefore, if exploited, this vulnerability could lead to violations of these regulations due to confidentiality breaches.

Remediation by upgrading to n8n version 2.24.0 or later is necessary to mitigate this risk and maintain compliance.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-54303. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart