GitHub Advisory Database
GHSA-8w65-xjc5-9w79
Cross-Site Scripting in node-red
Details
Versions of node-red prior to 0.20.8are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize the name field in new Flows, allowing attackers to execute arbitrary JavaScript in the victim's browser.
Recommendation
Upgrade to version 0.18.6 or later.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | node-red | All versions before 0.20.8 (fixed in 0.20.8) |