CVE-2025-52478
Last modified
CVE-2025-52478 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| N8n | N8n | >= 1.77.0, < 1.98.2 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-52478?
How severe is CVE-2025-52478?
How do I fix CVE-2025-52478?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-52472XWiki Platform is a generic wiki platform offering runtime s…9.3
- CVE-2025-52473liboqs is a C-language cryptographic library that provides i…5.5
- CVE-2025-52474WeGIA is a web manager for charitable institutions. Prior to…9.8
- CVE-2025-52475Chamilo is a learning management system. Prior to version 1.…6.1
- CVE-2025-52476Chamilo is a learning management system. Prior to version 1.…6.1
- CVE-2025-52477Octo-STS is a GitHub App that acts like a Security Token Ser…8.6
- CVE-2025-52479HTTP.jl provides HTTP client and server functionality for Ju…7.7
- CVE-2025-5248A vulnerability, which was classified as critical, was found…9.8
- CVE-2025-52480Registrator is a GitHub app that automates creation of regis…9.8
- CVE-2025-52482Chamilo is a learning management system. Prior to version 1.…8.3
- CVE-2025-52483Registrator is a GitHub app that automates creation of regis…9.8
- CVE-2025-52484RISC Zero is a general computing platform based on zk-STARKs…2.7
Are you affected by CVE-2025-52478?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
