Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-q4fm-pjq6-m63g

GHSA-q4fm-pjq6-m63g: n8n has a Stored XSS Vulnerability in its Form Trigger

March 27, 2026

An authenticated user with permission to create or modify workflows could exploit a flaw in the Form Trigger node’s CSS sanitization to store a cross-site scripting (XSS) payload. The injected script executes persistently for every visitor of the published form, enabling form submission hijacking and phishing. The existing Content Security Policy prevents direct n8n session cookie theft but does not prevent script execution or form action manipulation.

References

  • github.com/advisories/GHSA-q4fm-pjq6-m63g
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/security/advisories/GHSA-q4fm-pjq6-m63g

Code Behaviors & Features

Detect and mitigate GHSA-q4fm-pjq6-m63g with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.123.25, all versions starting from 2.0.0-rc.0 before 2.11.2

Fixed versions

  • 2.11.2
  • 1.123.25

Solution

Upgrade to versions 1.123.25, 2.11.2 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/n8n/GHSA-q4fm-pjq6-m63g.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:14 +0000.