GitHub Advisoryadvisory · npm
GHSA-5g6j-8hv4-vfgj Cross-Site Scripting in node-red
HIGH
Official page ↗
- Ecosystem
- npm
- Packages
- node-red
- Severity
- High
- Weaknesses
- CWE-79
- Reviewed
- 2020-08-31
Affected packages
• npm node-red: < 0.18.6 → fixed in 0.18.6
Description
Versions of `node-red` prior to 0.18.6 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize the `name` field in new items, allowing attackers to execute arbitrary JavaScript in the victim's browser.
Recommendation
Upgrade to version 0.18.6 or later.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness