{"id":"GHSA-xp9c-82x8-7f67","revision":"52f234f415814f42957c843d3bbf240f","records":[{"revision":"52f234f415814f42957c843d3bbf240f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-xp9c-82x8-7f67","aliases":["CVE-2021-21297"],"title":"Prototype Pollution in Node-Red","description":"### Impact\n\nNode-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.\n\n### Patches\n\nThe vulnerability is patched in the 1.2.8 release.\n\n### Workarounds\n\nA workaround is to ensure only authorised users are able to access the editor url.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Email us at [team@nodered.org](mailto:team@nodered.org)\n\n### Acknowledgements\n\nThanks to the Tencent Woodpecker Security Team for disclosing this vulnerability.","state":0,"publishedAt":"2021-02-26T16:31:05+00:00","modifiedAt":"2026-07-08T06:28:13.9607032+00:00","affected":[{"ecosystem":"npm","name":"@node-red/runtime","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.2.8"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67","https://nvd.nist.gov/vuln/detail/CVE-2021-21297","https://github.com/node-red/node-red","https://github.com/node-red/node-red/releases/tag/1.2.8","https://www.npmjs.com/package/@node-red/editor-api","https://www.npmjs.com/package/@node-red/runtime"],"sourceUrl":"https://github.com/advisories/GHSA-xp9c-82x8-7f67","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-xp9c-82x8-7f67","identifiers":["GHSA-xp9c-82x8-7f67","CVE-2021-21297"]},"retained":false,"historicalAffected":[]}],"coverage":[]}