{"cve":"CVE-2025-52478","nvd":{"published":"2025-08-19T17:15:40.617","modified":"2026-06-17T09:36:34.183","status":"Analyzed","description":"n8n is a workflow automation platform. From 1.77.0 to before 1.98.2, a stored Cross-Site Scripting (XSS) vulnerability was identified in n8n, specifically in the Form Trigger node's HTML form element. An authenticated attacker can inject malicious HTML via an <iframe> with a srcdoc payload that includes arbitrary JavaScript execution. The attacker can also inject malicious Javascript by using <video> coupled <source> using an onerror event. While using iframe or a combination of video and source tag, this vulnerability allows for Account Takeover (ATO) by exfiltrating n8n-browserId and session cookies from authenticated users who visit a maliciously crafted form. Using these tokens and cookies, an attacker can impersonate the victim and change account details such as email addresses, enabling full control over the account—especially if 2FA is not enabled. Users should upgrade to version >= 1.98.2.","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/commit/7940384a85041a1890b1203d69c092c887312500","https://github.com/n8n-io/n8n/pull/16329","https://github.com/n8n-io/n8n/security/advisories/GHSA-hfmv-hhh3-43f2"],"products":["n8n:n8n"],"source":"nvd","synced_at":"2026-10-19T22:07:46.309729541+00:00"},"epss":{"cve":"CVE-2025-52478","score":0.00393,"percentile":0.335,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hfmv-hhh3-43f2","url":"https://osv.dev/vulnerability/GHSA-hfmv-hhh3-43f2","summary":"Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source","modified":"2025-08-19T20:58:33Z","packages":[{"ecosystem":"npm","name":"n8n","purl":"pkg:npm/n8n","ranges":[">=1.77.0 <1.98.2"],"fixed":["1.98.2"]}]}],"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."]}