Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2025-52478— Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source

Quick assessment

Affected
n8n-io n8n
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

n8n是n8n开源的一个可扩展的工作流自动化工具。 n8n 1.77.0至1.98.2之前版本存在跨站脚本漏洞,该漏洞源于Form Trigger节点的HTML表单元素存在存储型跨站脚本,可能导致账户接管。

CVSS 8.7 · High EPSS 0.37% · P30
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-52478

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
n8n 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
n8n是n8n开源的一个可扩展的工作流自动化工具。 n8n 1.77.0至1.98.2之前版本存在跨站脚本漏洞,该漏洞源于Form Trigger节点的HTML表单元素存在存储型跨站脚本,可能导致账户接管。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
n8n-io n8n >= 1.77.0, < 1.98.2 -

II. Public POCs for CVE-2025-52478

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-52478

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-52478

No comments yet


Leave a comment