# CVE-2021-23395: Prototype Pollution

- Severity: High 7.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.87%, higher than 59% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-06-15T19:12:03.841Z
- Modified: 2026-06-17T03:38:41.057Z
- Also known as: GHSA-339j-hqgx-qrrx
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

This affects all versions of package nedb. The library could be tricked into adding or modifying properties of Object.prototype using a __proto__ or constructor.prototype payload.

(As written by CVE List.)

## Affected

- nedb: before unspecified
- nedb (npm): up to 1.8.0
- nedb_project nedb: no versions given

## Every score

- snyk: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-NEDB-1305279> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23395> (advisory)

## Sources

- CVE List: [CVE-2021-23395](https://www.cve.org/CVERecord?id=CVE-2021-23395), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-339j-hqgx-qrrx](https://github.com/advisories/GHSA-339j-hqgx-qrrx), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-23395](https://nvd.nist.gov/vuln/detail/CVE-2021-23395), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23395 · Whole record: https://cve.day/CVE-2021-23395.json · Rebuilt by cve.day 2026-11-25T22:58:01.900Z
