{"cve":"CVE-2026-25881","nvd":{"published":"2026-02-09T22:16:03.423","modified":"2026-06-17T10:25:22.373","status":"Analyzed","description":"SandboxJS is a JavaScript sandboxing library. Prior to 0.8.31, a sandbox escape vulnerability allows sandboxed code to mutate host built-in prototypes by laundering the isGlobal protection flag through array literal intermediaries. When a global prototype reference (e.g., Map.prototype, Set.prototype) is placed into an array and retrieved, the isGlobal taint is stripped, permitting direct prototype mutation from within the sandbox. This results in persistent host-side prototype pollution and may enable RCE in applications that use polluted properties in sensitive sinks (example gadget: execSync(obj.cmd)). This vulnerability is fixed in 0.8.31.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10.0},"cwes":["CWE-1321"],"references":["https://github.com/nyariv/SandboxJS/commit/f369f8db26649f212a6a9a2e7a1624cb2f705b53","https://github.com/nyariv/SandboxJS/security/advisories/GHSA-ww7g-4gwx-m7wj"],"products":["nyariv:sandboxjs"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2026-25881","score":0.00622,"percentile":0.49865,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-ww7g-4gwx-m7wj","url":"https://osv.dev/vulnerability/GHSA-ww7g-4gwx-m7wj","summary":"@nyariv/sandboxjs has host prototype pollution from sandbox via array intermediary (sandbox escape)","modified":"2026-02-10T03:05:27.558640Z","packages":[{"ecosystem":"npm","name":"@nyariv/sandboxjs","purl":"pkg:npm/%40nyariv/sandboxjs","ranges":["<0.8.31"],"fixed":["0.8.31"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}