# CVE-2021-21297: Prototype Pollution in Node-Red

- Priority: **Routine**
- Reason: Not severe (CVSS 7.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-02-26 · Modified: 2024-08-03
- Aliases: GHSA-xp9c-82x8-7f67
- Record: https://cvemate.com/vulnerability/CVE-2021-21297 · JSON: https://cvemate.com/vulnerability/CVE-2021-21297/json

## 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.
```

## Signals

- CVSS: 7.7 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
- EPSS: 1.414%, percentile 73.659%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- node-red node-red: \< 1.2.8
- nodered node-red: \< 1.2.8
- @node-red runtime (Npm): \< 1.2.8

## References

- <https://github.com/node-red/node-red/security/advisories/GHSA-xp9c-82x8-7f67>
- <https://www.npmjs.com/package/%40node-red/runtime>
- <https://www.npmjs.com/package/%40node-red/editor-api>
- <https://github.com/node-red/node-red/releases/tag/1.2.8>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21297>
- <https://github.com/node-red/node-red>
- <https://www.npmjs.com/package/@node-red/editor-api>
- <https://www.npmjs.com/package/@node-red/runtime>

---

Data as of 2026-12-05T12:30:52.534Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
