{"id":"CVE-2026-43898","state":"PUBLISHED","title":"SandboxJS: Sandbox escape via Function.caller leakage of internal call op","description":"SandboxJS is a JavaScript sandboxing library. Prior to 0.9.6, sandbox-defined functions expose Function.caller, allowing sandboxed code to recover the internal LispType.Call runtime callback. That callback can then be invoked with attacker-controlled fake context and obj values to extract blocked host statics, recover the real host Function constructor, and execute arbitrary host JavaScript. This vulnerability is fixed in 0.9.6.","publishedAt":"2026-05-28T17:50:31.581Z","updatedAt":"2026-05-28T19:32:45.499Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["nyariv SandboxJS"],"affected":[{"vendor":"nyariv","product":"SandboxJS","versions":[{"version":"< 0.9.6","status":"affected"}]}],"references":["https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw","https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5"],"weaknesses":["CWE-94"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43898.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43898","state":"PUBLISHED","datePublished":"2026-05-28T17:50:31.581Z","dateUpdated":"2026-05-28T19:32:45.499Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-04T16:11:33.085Z"},"containers":{"cna":{"title":"SandboxJS: Sandbox escape via Function.caller leakage of internal call op","descriptions":[{"lang":"en","value":"SandboxJS is a JavaScript sandboxing library. Prior to 0.9.6, sandbox-defined functions expose Function.caller, allowing sandboxed code to recover the internal LispType.Call runtime callback. That callback can then be invoked with attacker-controlled fake context and obj values to extract blocked host statics, recover the real host Function constructor, and execute arbitrary host JavaScript. This vulnerability is fixed in 0.9.6."}],"affected":[{"vendor":"nyariv","product":"SandboxJS","versions":[{"version":"< 0.9.6","status":"affected"}]}],"references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw","name":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5","name":"https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-94","lang":"en","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-28T17:50:31.581Z"},"source":{"advisory":"GHSA-g8f2-4f4f-5jqw","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-28T19:31:59.779037Z","id":"CVE-2026-43898","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-28T19:32:45.499Z"}}]}}}