{"data":{"id":"d89e38db-1e3d-484c-b630-2f01aa0c8680","title":"GHSA-hfmv-hhh3-43f2: Stored XSS in n8n Form Trigger allows Account Takeover via injected iframe and video/source","summary":"A stored cross-site scripting flaw in the n8n Form Trigger node's HTML form element lets an authenticated attacker inject JavaScript through an iframe srcdoc payload or a video and source tag using an onerror event. When a victim opens the crafted form, the attacker can exfiltrate n8n-browserId and session cookies, enabling account takeover and changes to account details such as email addresses, especially where 2FA is not enabled.","solution":"Upgrade to version >=1.98.2. The issue was addressed in PR #16329. Other workarounds: configure a reverse proxy to serve webhook requests from a different domain, disable or restrict the Form Trigger node (particularly the HTML element type), or use a Content Security Policy that blocks inline scripts and disallows srcdoc.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-hfmv-hhh3-43f2","publishedAt":"2025-08-19T15:33:35.000Z","cveId":"CVE-2025-52478","cweIds":["CWE-79"],"cvssScore":"8.7","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["n8n@>= 1.77.0, < 1.98.2 (fixed: 1.98.2)"],"affectedPackageNames":["n8n"],"affectedPackageRefs":["npm:n8n"],"affectedVendors":[],"affectedVendorsRaw":["n8n"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"network","attackComplexity":"low","privilegesRequired":"low","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00481,"epssPercentile":0.4319,"epssCheckedAt":"2026-12-03T19:40:30.698Z","epssHistory":null,"epss30dChange":null,"exploitUrls":null,"patchCommitUrls":["https://github.com/n8n-io/n8n/commit/7940384a85041a1890b1203d69c092c887312500","https://github.com/n8n-io/n8n/pull/16329"],"ssvcExploitation":"none","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:56:17.174Z","kevDateAdded":null,"advisoryAliases":["GHSA-hfmv-hhh3-43f2"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2025-08-19T15:33:35.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-198","CAPEC-86"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"plugin","llmSpecific":false,"classifierConfidence":0.6,"researchCategory":null,"atlasIds":null,"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":["n8n@1.98.2"],"affectedPurls":["pkg:npm/n8n"],"owaspLlmIds":null,"doi":null,"arxivId":null,"hasPublicExploit":false,"timeline":[{"event":"published","date":"2025-08-19","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}