Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. n8n
  4. ›
  5. GHSA-3c7f-5hgj-h279

GHSA-3c7f-5hgj-h279: n8n has XSS in Chat Trigger Node through Custom CSS

March 27, 2026 (updated April 3, 2026)

An authenticated user with permission to create or modify workflows could inject malicious JavaScript into the Custom CSS field of the Chat Trigger node. Due to a misconfiguration in the sanitize-html library, the sanitization could be bypassed, resulting in stored XSS on the public chat page. Any user visiting the chat URL would be affected.

References

  • github.com/advisories/GHSA-3c7f-5hgj-h279
  • github.com/n8n-io/n8n
  • github.com/n8n-io/n8n/security/advisories/GHSA-3c7f-5hgj-h279

Code Behaviors & Features

Detect and mitigate GHSA-3c7f-5hgj-h279 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.27, all versions starting from 2.0.0-rc.0 before 2.13.3, all versions starting from 2.14.0 before 2.14.1, version 2.14.0

Fixed versions

  • 1.123.27
  • 2.14.1
  • 2.13.3

Solution

Upgrade to versions 1.123.27, 2.13.3, 2.14.1 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-3c7f-5hgj-h279.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 09 May 2026 12:17:57 +0000.