CVE Explorer
CVE-2026-23830
SandboxJS is a JavaScript sandboxing library. Versions prior to 0.8.26 have a sandbox escape vulnerability due to `AsyncFunction` not being isolated in `SandboxFunction`. The library attempts to sandbox code execution by replacing the global `Function` constructor with a safe, sandboxed version (`SandboxFunction`). This is handled in `utils.ts` by mapping `Function` to `sandboxFunction` within a map used for lookups. However, before version 0.8.26, the library did not include mappings for `Async
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-913","description":"CWE-913: Improper Control of Dynamically-Managed Code Resources","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"SandboxJS","vendor":"nyariv","versions":[{"status":"affected","version":"< 0.8.26"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /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:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-913","description":"CWE-913: Improper Control of Dynamically-Managed Code Resources","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-693","description":"CWE-693: Protection Mechanism Failure","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/nyariv/SandboxJS/commit/345aee6566e47979dee5c337b925b141e7f78ccd","tags":["x_refsource_MISC"],"url":"https://github.com/nyariv/SandboxJS/commit/345aee6566e47979dee5c337b925b141e7f78ccd"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /containers/cna/references/1
{"name":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-wxhw-j4hc-fmq6","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-wxhw-j4hc-fmq6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:13802eb80add906f773c0a7beff5ac56fcb319c0fbd54c64cc6020dcdf867e35 · sha256:18b3a1d93d0d4827… · /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.