# CVE-2021-23771: Sandbox Bypass

- Severity: Medium 6.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P`
- 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): 1.01%, higher than 64% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-03-17T11:20:35.048Z
- Modified: 2026-06-17T03:38:52.693Z
- Also known as: GHSA-8g4m-cjm2-96wq
- Weaknesses: CWE-1321
- Assigned by: snyk

## Description

This affects all versions of package notevil; all versions of package argencoders-notevil. It is vulnerable to Sandbox Escape leading to Prototype pollution. The package fails to restrict access to the main context, allowing an attacker to add or modify an object's prototype. **Note:** This vulnerability derives from an incomplete fix in [SNYK-JS-NOTEVIL-608878](https://security.snyk.io/vuln/SNYK-JS-NOTEVIL-608878).

(As written by CVE List.)

## Affected

- notevil: before unspecified
- argencoders-notevil: before unspecified
- notevil (npm): up to 1.3.3
- argencoders-notevil (npm): up to 2.5.0
- argencoders-notevil_project argencoders-notevil: up to 2.5.0
- notevil_project notevil: up to 1.3.3

## Every score

- snyk: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:2.0 6.4 Medium `AV:N/AC:L/Au:N/C:P/I:P/A:N`

## References

- <https://snyk.io/vuln/SNYK-JS-NOTEVIL-2385946> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JS-ARGENCODERSNOTEVIL-2388587> (exploit, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23771> (advisory)
- <https://github.com/mmckegg/notevil> (package)

## Sources

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

---

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