{"id":"GHSA-5g6j-8hv4-vfgj","aliases":["GHSA-5g6j-8hv4-vfgj"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-Site Scripting in node-red","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-11T21:21:19.000Z","modified":"2020-08-31T18:43:22.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.18.6"}],"ecosystem":"npm","package":"node-red","purl":"pkg:npm/node-red","source":"ghsa"}],"references":[{"url":"https://hackerone.com/reports/349146","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/advisories/993","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5g6j-8hv4-vfgj","url":"https://github.com/advisories/GHSA-5g6j-8hv4-vfgj","licence":"CC-BY-4.0","modified":"2020-08-31T18:43:22.000Z"}],"updatedAt":"2026-11-25T22:56:44.183Z"}