CVE-2025-46343
n8n Stored XSS Vulnerability
Description
n8n is a workflow automation platform. Prior to version 1.90.0, n8n is vulnerable to stored cross-site scripting (XSS) through the attachments view endpoint. n8n workflows can store and serve binary files, which are accessible to authenticated users. However, there is no restriction on the MIME type of uploaded files, and the MIME type could be controlled via a GET parameter. This allows the server to respond with any MIME type, potentially enabling malicious content to be interpreted and executed by the browser. An authenticated attacker with member-level permissions could exploit this by uploading a crafted HTML file containing malicious JavaScript. When another user visits the binary data endpoint with the MIME type set to text/html, the script executes in the context of the user’s session. This script could send a request to change the user’s email address in their account settings, effectively enabling account takeover. This issue has been patched in version 1.90.0.
INFO
Published Date :
April 29, 2025, 5:15 a.m.
Last Modified :
May 9, 2025, 7:37 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
2.7
Exploitability Score :
2.3
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-46343
.
URL | Resource |
---|---|
https://github.com/n8n-io/n8n/pull/14350 | Issue Tracking Patch |
https://github.com/n8n-io/n8n/pull/14685 | Issue Tracking Patch |
https://github.com/n8n-io/n8n/releases/tag/n8n%401.90.0 | Release Notes |
https://github.com/n8n-io/n8n/security/advisories/GHSA-c8hm-hr8h-5xjw | Patch Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-46343
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-46343
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 09, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* versions up to (excluding) 1.90.0 Added Reference Type GitHub, Inc.: https://github.com/n8n-io/n8n/pull/14350 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/n8n-io/n8n/pull/14685 Types: Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/n8n-io/n8n/releases/tag/n8n%401.90.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/n8n-io/n8n/security/advisories/GHSA-c8hm-hr8h-5xjw Types: Patch, Vendor Advisory -
New CVE Received by [email protected]
Apr. 29, 2025
Action Type Old Value New Value Added Description n8n is a workflow automation platform. Prior to version 1.90.0, n8n is vulnerable to stored cross-site scripting (XSS) through the attachments view endpoint. n8n workflows can store and serve binary files, which are accessible to authenticated users. However, there is no restriction on the MIME type of uploaded files, and the MIME type could be controlled via a GET parameter. This allows the server to respond with any MIME type, potentially enabling malicious content to be interpreted and executed by the browser. An authenticated attacker with member-level permissions could exploit this by uploading a crafted HTML file containing malicious JavaScript. When another user visits the binary data endpoint with the MIME type set to text/html, the script executes in the context of the user’s session. This script could send a request to change the user’s email address in their account settings, effectively enabling account takeover. This issue has been patched in version 1.90.0. Added CVSS V3.1 AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:L/A:N Added CWE CWE-79 Added Reference https://github.com/n8n-io/n8n/pull/14350 Added Reference https://github.com/n8n-io/n8n/pull/14685 Added Reference https://github.com/n8n-io/n8n/releases/tag/n8n%401.90.0 Added Reference https://github.com/n8n-io/n8n/security/advisories/GHSA-c8hm-hr8h-5xjw
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-46343
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-46343
weaknesses.