GHSA-5g6j-8hv4-vfgj

Suggest an improvement
Source
https://github.com/advisories/GHSA-5g6j-8hv4-vfgj
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-5g6j-8hv4-vfgj/GHSA-5g6j-8hv4-vfgj.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-5g6j-8hv4-vfgj
Published
2020-09-11T21:21:19Z
Modified
2020-08-31T18:43:22Z
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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:43:22Z",
    "nvd_published_at":  null,
    "severity":  "HIGH"
}
References

Affected packages

npm / node-red

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
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"