Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n8n-io | n8n | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| N8n | N8n | — |
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2025-25193 | Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source |
Github GHSA |
GHSA-hfmv-hhh3-43f2 | Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.448% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:n8n:n8n:*:*:*:*:*:node.js:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
N8n
N8n n8n |
|
| Vendors & Products |
N8n
N8n n8n |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV3_1
|