Skip to content
HighVulnerability

GHSA-qpq4-pw7f-pp8w: n8n Has Stored Cross-site Scripting via Markdown Rendering in Workflow UI

Published
Record updated
View JSON
Affected
  • n8n >= 2.0.0, < 2.2.1, fixed in 2.2.1
  • n8n < 1.123.9, fixed in 1.123.9
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

A stored cross-site scripting flaw in the markdown rendering component of n8n's interface affects workflow sticky notes and other markdown fields. An authenticated user who can create or modify workflows can run scripts with same-origin privileges when other users open a crafted workflow, which can lead to session hijacking and account takeover.

Mitigation

The issue is fixed in n8n versions 2.2.1 and 1.123.9; users should upgrade to these versions or later. If upgrading is not immediately possible, limit workflow creation and editing permissions to fully trusted users, review existing workflows for malicious markdown in sticky notes and other components, and educate users about opening workflows from untrusted sources. These workarounds do not fully remediate the risk and are short-term measures only.