Node-RED 1.2.7 and earlier contains a Prototype Pollution vulnerability in the admin API. A badly formed request can modify the prototype of the default JavaScript Object with the potential to affect the default behaviour of the Node-RED runtime.
The vulnerability is patched in the 1.2.8 release.
A workaround is to ensure only authorised users are able to access the editor url.
If you have any questions or comments about this advisory:
Thanks to the Tencent Woodpecker Security Team for disclosing this vulnerability.
{
"cwe_ids": [
"CWE-1321",
"CWE-915"
],
"github_reviewed": true,
"github_reviewed_at": "2021-02-26T16:22:38Z",
"nvd_published_at": "2021-02-26T17:15:00Z",
"severity": "HIGH"
}