5.0
MEDIUM
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 :

April 29, 2025, 1:52 p.m.

Remotely Exploitable :

No

Impact Score :

4.2

Exploitability Score :

0.8
Affected Products

The following products are affected by CVE-2025-46343 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

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
https://github.com/n8n-io/n8n/pull/14685
https://github.com/n8n-io/n8n/releases/tag/n8n%401.90.0
https://github.com/n8n-io/n8n/security/advisories/GHSA-c8hm-hr8h-5xjw

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.

  • 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
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
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.

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Apr. 29, 2025 17:07