{"id":"GHSA-5g6j-8hv4-vfgj","aliases":[],"status":"published","title":"Cross-Site Scripting in node-red","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.6 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2020-09-11T21:21:19Z","modified":"2023-01-09T05:03:38Z","fixes":[{"ecosystem":"npm","package":"node-red","fixed_in":["0.18.6"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"node-red","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.6"}]}]},{"source":"osv","ecosystem":"npm","package":"node-red","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.18.6"}]}]}],"references":[{"url":"https://hackerone.com/reports/349146","tags":["web"]},{"url":"https://www.npmjs.com/advisories/993","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5g6j-8hv4-vfgj"}],"sources":{"ghsa":[{"id":"GHSA-5g6j-8hv4-vfgj","title":"Cross-Site Scripting in node-red","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.6 or later.","status":"published","published":"2020-09-11T21:21:19Z","modified":"2023-01-09T05:03:38Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:05.705235Z"}],"osv":[{"id":"GHSA-5g6j-8hv4-vfgj","title":"Cross-Site Scripting in node-red","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.6 or later.","status":"published","published":"2020-09-11T21:21:19Z","modified":"2020-08-31T18:43:22Z","cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:38.213481Z"}]}}
