# CVE-2021-3918: Prototype Pollution in kriszyp/json-schema

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 3.83%, higher than 90% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-11-13T00:00:00.000Z
- Modified: 2026-06-17T04:05:59.267Z
- Also known as: GHSA-896r-f27r-55mw
- Weaknesses: CWE-915, CWE-1321
- Assigned by: @huntrdev

## Description

json-schema is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

(As written by CVE List.)

## Affected

- kriszyp kriszyp/json-schema: from unspecified up to 0.3.0
- json-schema (npm): before 0.4.0
- json-schema_project json-schema: before 0.4.0
- debian debian_linux: 10.0

## Every score

- @huntrdev: CVSS:3.0 9.8 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://huntr.dev/bounties/bb6ccd63-f505-4e3a-b55f-cd2662c261a9> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/kriszyp/json-schema/commit/22f146111f541d9737e832823699ad3528ca7741> (patch, third-party-advisory, web)
- <https://lists.debian.org/debian-lts-announce/2022/12/msg00013.html> (mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20250117-0004/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3918> (advisory)
- <https://github.com/kriszyp/json-schema/commit/b62f1da1ff5442f23443d6be6a92d00e65cba93a> (web)
- <https://github.com/kriszyp/json-schema/commit/f6f6a3b02d667aa4ba2d5d50cc19208c4462abfa> (web)
- <https://github.com/kriszyp/json-schema> (package)
- <https://security.netapp.com/advisory/ntap-20250117-0004> (web)

## Sources

- CVE List: [CVE-2021-3918](https://www.cve.org/CVERecord?id=CVE-2021-3918), CVE Terms of Use, modified 2025-01-17
- GitHub Advisory Database: [GHSA-896r-f27r-55mw](https://github.com/advisories/GHSA-896r-f27r-55mw), CC-BY-4.0, modified 2025-01-17
- NVD: [CVE-2021-3918](https://nvd.nist.gov/vuln/detail/CVE-2021-3918), Public domain, modified 2026-06-17

---

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