CVE-2021-25913 json
Prototype Pollution in set-or-get
published 2021-02-08 5 y ago modified 2026-06-17 4 mo ago also GHSA-6rv4-4qv6-88g2 , EUVD-2021-0778
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.4%
- EPSS 4.4% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
Prototype pollution vulnerability in 'set-or-get' version 1.0.0 through 1.2.10 allows an attacker to cause a denial of service and may lead to remote code execution.
Patch / fix
Exploit prediction
4.38% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- whitesourcesoftware.com https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25913 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | set-or-get | >=1.0.0, <1.2.11 |
1.2.11 |
Affected products
- n/a set-or-get
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/IonicaBizau/set-or-get.js/commit/82ede5cccb2e8d13e4f62599203a4389f6d8e936
web, patch, third-party-advisory
-
whitesourcesoftware.com
/vulnerability-database/CVE-2021-25913
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-25913
advisory
-
npmjs.com
/package/set-or-get
web
Sources
- CVE List CVE-2021-25913
- GitHub Advisory GHSA-6rv4-4qv6-88g2
- NVD CVE-2021-25913
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.