{"cve":"CVE-2025-46343","nvd":{"published":"2025-04-29T05:15:47.157","modified":"2026-06-17T09:26:16.270","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["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"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-19T22:01:11.054312287+00:00"},"epss":{"cve":"CVE-2025-46343","score":0.00269,"percentile":0.19106,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-c8hm-hr8h-5xjw","url":"https://osv.dev/vulnerability/GHSA-c8hm-hr8h-5xjw","summary":"n8n Vulnerable to Stored XSS through Attachments View Endpoint","modified":"2025-04-29T13:15:15Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":["<1.90.0"],"fixed":["1.90.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}