{"id":"CVE-2021-23771","aliases":["EUVD-2022-1375","GHSA-8g4m-cjm2-96wq"],"status":"published","title":"Sandbox Bypass","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).","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.01013,"percentile":0.63647,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1321"],"published":"2022-03-17T11:20:35Z","modified":"2026-06-17T03:38:52Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"notevil","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.3"}]}]},{"source":"ghsa","ecosystem":"npm","package":"argencoders-notevil","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.5.0"}]}]},{"source":"osv","ecosystem":"npm","package":"notevil","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.3.3"}]}]},{"source":"osv","ecosystem":"npm","package":"argencoders-notevil","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.5.0"}]}]}],"products":[{"vendor":"argencoders-notevil_project","product":"argencoders-notevil"},{"vendor":"notevil_project","product":"notevil"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-NOTEVIL-2385946","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-ARGENCODERSNOTEVIL-2388587","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23771","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8g4m-cjm2-96wq"},{"url":"https://github.com/mmckegg/notevil","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-23771","title":"Sandbox Bypass","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).","status":"published","published":"2022-03-17T11:20:35.048Z","modified":"2024-09-17T00:20:38.77Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:33:00.819444Z"}],"euvd":[{"id":"EUVD-2022-1375","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).","status":"published","published":"2022-03-17T11:20:35Z","modified":"2024-09-17T00:20:38Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:P","level":"medium"}],"updated_at":"2026-11-03T00:29:00.142007Z"}],"ghsa":[{"id":"GHSA-8g4m-cjm2-96wq","title":"Sandbox escape in notevil and argencoders-notevil","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). This package has been deprecated.","status":"published","published":"2022-03-18T00:01:11Z","modified":"2023-01-27T05:00:56Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:36:15.574072Z"}],"nvd":[{"id":"CVE-2021-23771","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).","status":"published","published":"2022-03-17T12:15:07.74Z","modified":"2026-06-17T03:38:52.693Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T14:07:05.581807Z"}],"osv":[{"id":"GHSA-8g4m-cjm2-96wq","title":"Sandbox escape in notevil and argencoders-notevil","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). This package has been deprecated.","status":"published","published":"2022-03-18T00:01:11Z","modified":"2023-11-08T04:05:13.119729Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-1321"],"updated_at":"2026-11-02T15:46:42.437513Z"}]}}
