Advisory

GHSA-5g6j-8hv4-vfgj

Also known as: None

Summary

Cross-Site Scripting in node-red

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-11 21:21 UTC
Modified
2020-08-31 18:43 UTC

Affected packages and fixes

node-red

npm · All systems

Affected

  • introduced 0, fixed 0.18.6 (semver)

Fixed versions

0.18.6

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences