{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-21297","published":"2021-02-26T17:15:12.210000Z","last_modified":"2026-06-17T03:35:14.380000Z","status":"Modified","cvss":{"version":"3.1","score":6.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-915","CWE-1321"],"cpes":[{"criteria":"cpe:2.3:a:nodered:node-red:*:*:*:*:*:node.js:*:*","part":"a","vendor":"nodered","product":"node-red","version_end_excluding":"1.2.8"}],"cpes_truncated":false,"vendors":["nodered"],"products":["nodered/node-red"],"epss":{"score":0.01414,"percentile":0.7297,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-xp9c-82x8-7f67","ecosystem":"npm","name":"@node-red/runtime","purl":"pkg:npm/%40node-red/runtime","ranges":[{"introduced":"0","fixed":"1.2.8"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":39,"links":{"html_es":"/es/cve/CVE-2021-21297/","html_en":"/en/cve/CVE-2021-21297/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21297","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21297"},"untrusted":{"vendor_name":"Nodered","product_name":"Node-red","desc_en":"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.","affected":[{"untrusted_vendor":"node-red","untrusted_product":"node-red","versions":[]}],"references":[{"url":"https://github.com/node-red/node-red/releases/tag/1.2.8","tags":["Release Notes","Third Party Advisory"]},{"url":"https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67","tags":["Third Party Advisory"]},{"url":"https://www.npmjs.com/package/%40node-red/editor-api","tags":[]},{"url":"https://www.npmjs.com/package/%40node-red/runtime","tags":[]}]}}