CVE-2026-25520 json
SandboxJS has a Sandbox Escape
published 2026-02-05 9 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-5591 , GHSA-58jh-xv4v-pcx4
- cvss
- 10.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped. Object.values/Object.entries can be used to get an Array containing the host's Function constructor, by using Array.prototype.at you can obtain the hosts Function constructor, which can be used to execute arbitrary code outside of the sandbox. This vulnerability is fixed in 0.8.29.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 9 mo ago
Exploit prediction
0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/nyariv/SandboxJS/security/advisories/GHSA-58jh-xv4v-pcx4 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @nyariv/sandboxjs | <0.8.29 |
0.8.29 |
Affected products
- nyariv SandboxJS
Classification
- Weakness
-
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
References
-
github.com
/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3
web, patch
-
github.com
/nyariv/SandboxJS/security/advisories/GHSA-58jh-xv4v-pcx4
exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-25520
advisory
-
github.com
/nyariv/SandboxJS
package
Sources
- CVE List CVE-2026-25520
- GitHub Advisory GHSA-58jh-xv4v-pcx4
- NVD CVE-2026-25520
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.