CVE-2025-52478

MEDIUM EPSS 26.6%
Published Aug 19, 202510mo ago · Modified Jun 17, 20262w ago
5.4 CVSS 3.1
Medium
Find Similar
Published Aug 19, 2025 10mo ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
5.4
Exploitability
2.3
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required Low
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

EPSS Exploit Probability
26.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-79 Cross-site Scripting Injection

Affected Products 1

VendorProductVersionRange
n8nn8n*≥1.77.0  –  <1.98.2

References 3

  • github.com https://github.com/n8n-io/n8n/commit/7940384a85041a1890b1203d69c092c887312500
    Patch
  • github.com https://github.com/n8n-io/n8n/pull/16329
    Patch
  • github.com https://github.com/n8n-io/n8n/security/advisories/GHSA-hfmv-hhh3-43f2
    PatchVendor Advisory

Remediation

  • github.com https://github.com/n8n-io/n8n/commit/7940384a85041a1890b1203d69c092c887312500
    Patch
  • github.com https://github.com/n8n-io/n8n/pull/16329
    Patch
  • github.com https://github.com/n8n-io/n8n/security/advisories/GHSA-hfmv-hhh3-43f2
    PatchVendor Advisory