CVE-2021-21297 json
Prototype Pollution in Node-Red
published 2021-02-26 5 y ago modified 2026-07-08 4 mo ago also GHSA-xp9c-82x8-7f67 , EUVD-2021-0581
- cvss
- 7.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @node-red/runtime 1.2.8
- nodered node-red 1.2.8
Exploit prediction
1.40% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 7.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @node-red/runtime | <1.2.8 |
1.2.8 |
Affected products
- node-red node-red
Classification
References
-
github.com
/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67
web, third-party-advisory
- npmjs.com /package/%40node-red/runtime
- npmjs.com /package/%40node-red/editor-api
-
github.com
/node-red/node-red/releases/tag/1.2.8
web, release-notes, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21297
advisory
-
github.com
/node-red/node-red
package
-
npmjs.com
/package/@node-red/editor-api
web
-
npmjs.com
/package/@node-red/runtime
web
Sources
- CVE List CVE-2021-21297
- GitHub Advisory GHSA-xp9c-82x8-7f67
- NVD CVE-2021-21297
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.