{"id":"CVE-2026-25142","summary":"SandboxJS Prototype Pollution -\u003e Sandbox Escape -\u003e RCE","details":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution. This vulnerability is fixed in 0.8.27.","aliases":["GHSA-9p4w-fq8m-2hp7"],"modified":"2026-08-12T03:51:48.209366704Z","published":"2026-02-02T22:51:40.651Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25142.json"},"references":[{"type":"WEB","url":"https://github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts#L368-L398"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25142.json"},{"type":"ADVISORY","url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25142"},{"type":"FIX","url":"https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nyariv/sandboxjs","events":[{"introduced":"0"},{"fixed":"75c8009db32e6829b0ad92ca13bf458178442bd3"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.8.27"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:nyariv:sandboxjs:*:*:*:*:*:node.js:*:*"}}],"versions":["0.8.24-2","0.8.24-1","0.8.24","0.8.23.3","0.8.23-1","0.8.23.2","0.8.23","0.8.22","0.8.21","0.8.20","0.8.19","0.8.18","0.8.17","0.8.16","0.8.15.1","0.8.15","0.8.14","0.8.12","0.8.11","0.8.10","0.8.9","0.8.8","0.8.7","0.8.6","0.8.5","0.8.4","0.8.3","0.8.2","0.8.0","0.7.1","0.7.0","0.6.2","0.6.1","0.6.0","0.5.3","0.5.2","0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-25142.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}