CVE Explorer
CVE-2026-25641
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, there is a sandbox escape vulnerability due to a mismatch between the key on which the validation is performed and the key used for accessing properties. Even though the key used in property accesses is annotated as string, this is never enforced. So, attackers can pass malicious objects that coerce to different string values when used, e.g., one for the time the key is sanitized using hasOwnProperty(key) and a different one for when
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:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /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:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/nyariv/SandboxJS/blob/6103d7147c4666fe48cfda58a4d5f37005b43754/src/executor.ts#L304-L304","tags":["x_refsource_MISC"],"url":"https://github.com/nyariv/SandboxJS/blob/6103d7147c4666fe48cfda58a4d5f37005b43754/src/executor.ts#L304-L304"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /containers/cna/references/2
{"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:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /containers/cna/references/1
{"name":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-7x3h-rm86-3342","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-7x3h-rm86-3342"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/nyariv/SandboxJS/security/advisories/GHSA-7x3h-rm86-3342"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:9ff616aafc997d713c3143ccbafa3530ac742f234475c251ac074da62e771d33 · sha256:d4890319d5a2ab08… · /containers/adp/0/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.