{"id":"GHSA-5g6j-8hv4-vfgj","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.6 or later.","modified":"2020-08-31T18:43:22Z","published":"2020-09-11T21:21:19Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:43:22Z","nvd_published_at":null,"cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"https://hackerone.com/reports/349146"},{"type":"WEB","url":"https://www.npmjs.com/advisories/993"}],"affected":[{"package":{"name":"node-red","ecosystem":"npm","purl":"pkg:npm/node-red"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.18.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5g6j-8hv4-vfgj/GHSA-5g6j-8hv4-vfgj.json"}}],"schema_version":"1.9.0"}