CVE Explorer
CVE-2026-25520
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"SandboxJS","vendor":"nyariv","versions":[{"status":"affected","version":"< 0.8.29"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5bb0e8e89170f9a0f39af53af7bd8d5d448c20f069cb39227a0fc899070e3e8d · sha256:de182210ce732295… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"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"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5bb0e8e89170f9a0f39af53af7bd8d5d448c20f069cb39227a0fc899070e3e8d · sha256:de182210ce732295… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-74","description":"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5bb0e8e89170f9a0f39af53af7bd8d5d448c20f069cb39227a0fc899070e3e8d · sha256:de182210ce732295… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3","tags":["x_refsource_MISC"],"url":"https://github.com/nyariv/SandboxJS/commit/67cb186c41c78c51464f70405504e8ef0a6e43c3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5bb0e8e89170f9a0f39af53af7bd8d5d448c20f069cb39227a0fc899070e3e8d · sha256:de182210ce732295… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-58jh-xv4v-pcx4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5bb0e8e89170f9a0f39af53af7bd8d5d448c20f069cb39227a0fc899070e3e8d · sha256:de182210ce732295… · /containers/adp/0/references/0
{"name":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-58jh-xv4v-pcx4","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-58jh-xv4v-pcx4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5bb0e8e89170f9a0f39af53af7bd8d5d448c20f069cb39227a0fc899070e3e8d · sha256:de182210ce732295… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.