{"id":68402,"date":"2025-08-19T22:31:52","date_gmt":"2025-08-19T19:01:52","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-52478-n8n-cross-site-scripting-xss-vulnerability\/"},"modified":"2025-08-19T22:31:52","modified_gmt":"2025-08-19T19:01:52","slug":"cve-2025-52478-n8n-cross-site-scripting-xss-vulnerability","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-52478-n8n-cross-site-scripting-xss-vulnerability\/","title":{"rendered":"CVE-2025-52478 &#8211; n8n Cross-Site Scripting (XSS) Vulnerability"},"content":{"rendered":"<p><strong>CVE ID : <\/strong>CVE-2025-52478<br \/>\n<br \/>\n<strong>Published : <\/strong> Aug. 19, 2025, 5:15 p.m. | 58\u00a0minutes ago<br \/>\n<br \/>\n<strong>Description : <\/strong>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&#8217;s HTML form element. An authenticated attacker can inject malicious HTML via an  with a srcdoc payload that includes arbitrary JavaScript execution. The attacker can also inject malicious Javascript by using <video preload=\"none\"> coupled  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\u2014especially if 2FA is not enabled. Users should upgrade to version &gt;= 1.98.2.<br \/>\n<br \/>\n<strong>Severity:<\/strong> 8.7 | HIGH<br \/>\n<br \/>\nVisit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;<\/video><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-52478 Published : Aug. 19, 2025, 5:15 p.m. | 58\u00a0minutes 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&#8217;s HTML form element. An authenticated attacker can inject malicious HTML via an &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-68402","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/68402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=68402"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/68402\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=68402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=68402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=68402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}