{"id":"CVE-2026-43898","summary":"SandboxJS: Sandbox escape via Function.caller leakage of internal call op","details":"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.","aliases":["GHSA-g8f2-4f4f-5jqw"],"modified":"2026-07-08T08:13:27.352842417Z","published":"2026-05-28T17:50:31.581Z","database_specific":{"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"fixed":"0.9.6"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-94"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43898.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43898.json"},{"type":"ADVISORY","url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43898"},{"type":"FIX","url":"https://github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nyariv/sandboxjs","events":[{"introduced":"0"},{"fixed":"826865251232611ec94078bab5a18ec875dad4a5"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v0.9.3","v0.8.34","v0.8.33","0.8.32","0.8.31","0.8.30","0.8.29","0.8.28","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-43898.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}