{"id":"CVE-2021-21297","published":"2021-02-26T16:20:17Z","modified":"2024-08-03T18:09:15Z","title":"Prototype Pollution in Node-Red","vendor":"node-red","product":"node-red","tier":"tail","description":{"text":"Node-Red is a low-code programming for event-driven applications built using nodejs. 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 authorized users are able to access the editor url.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01414,"percentile":0.73407,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"},{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67","tags":["x_refsource_CONFIRM"]},{"url":"https://www.npmjs.com/package/%40node-red/runtime","tags":["x_refsource_MISC"]},{"url":"https://www.npmjs.com/package/%40node-red/editor-api","tags":["x_refsource_MISC"]},{"url":"https://github.com/node-red/node-red/releases/tag/1.2.8","tags":["x_refsource_MISC"]}],"priority":{"score":20.1,"factors":[{"name":"EPSS percentile","points":14.68},{"name":"CVSS severity","points":5.39}]},"vendorSlug":"node-red","affectedVersions":[{"vendor":"node-red","product":"node-red","versions":["< 1.2.8"]}],"affected":[{"ecosystem":"npm","package":"@node-red/runtime","vulnerableRanges":["<1.2.8"],"patched":["1.2.8"],"from":["GHSA-xp9c-82x8-7f67"],"provenance":"source"}],"summary":{"text":"Node-RED's admin API, in version 1.2.7 and earlier of the node-red product, contains a prototype pollution flaw in which a malformed request can modify the default JavaScript Object prototype and affect the runtime's default behaviour. An attacker with network access and low-privilege authenticated access to the admin API can exploit this by sending a badly formed request, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:27Z"},"euvd":{"id":"EUVD-2021-0581","exploited":false,"provenance":"source"}}