CVE-2019-15607: Cross-Site Scripting in node-red

node-red Updated 02 Oct 2025

Summary

30/01/2020
Yes i
Moderate
5.4

CVE-2019-15607: Cross-Site Scripting in node-red. Affects node-red versions < 0.20.8. Fixed in 0.20.8. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Node-RED is an open-source flow-based programming tool that allows users to create applications by wiring together hardware devices, APIs, and online services. It provides a web-based interface for visually creating and managing flows. Node-RED versions prior to 0.20.8 are vulnerable to Cross-Site Scripting (XSS) attacks. This vulnerability arises from the package's failure to properly sanitize the 'name' field in new Flows, enabling attackers to execute arbitrary JavaScript code in the victim's browser.

Vulnerability Detail

The Cross-Site Scripting (XSS) vulnerability in Node-RED allows an attacker to inject malicious JavaScript code into the application, which is then executed in the context of the victim's browser. This can lead to various consequences, including unauthorized access to sensitive information, session hijacking, and the ability to perform actions on behalf of the victim. The vulnerability is rated as MODERATE severity and has been assigned the Common Weakness Enumeration (CWE) ID CWE-79.

How To Fix

Minimum fixed version

0.20.8

This is the first release that contains the fix.

npm install node-red@0.20.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Node-RED versions prior to 0.20.8 are vulnerable to Cross-Site Scripting (XSS) attacks. It is crucial to upgrade to version 0.20.8 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for node-red →

Share this vulnerability

FAQ

Node-RED is an open-source flow-based programming tool used for creating applications by connecting hardware devices, APIs, and online services.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

This vulnerability allows attackers to execute arbitrary JavaScript code in the victim's browser, potentially leading to unauthorized access, session hijacking, and other malicious activities.

To fix this vulnerability, it is recommended to upgrade to version 0.20.8 or later of Node-RED.

No specific workaround has been provided for this vulnerability. It is best to upgrade to the latest version of Node-RED.

Related vulnerabilities

Recent vulnerabilities recorded for node-red.

How To Fix

Minimum fixed version

0.20.8

This is the first release that contains the fix.

npm install node-red@0.20.8

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback