10
/ 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Description
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 the key is used for the actual property access. This vulnerability is fixed in 0.8.29.
AI Analysis
Sandbox escape vulnerability due to a mismatch between the key on which the validation is performed and the key used for accessing properties
Basic Information
ID
CVE-2026-25641
Source
GitHub_M
Published
Feb 6, 2026 at 19:50
Modified
Feb 6, 2026 at 20:20
Affected Product
Vendor
nyariv
Product
SandboxJS
Version
< 0.8.29
Affected Versions
nyariv SandboxJS < 0.8.29
CWE Classification
AI Assessment
AI Score
10 / 10
AI Severity
Critical
Vendor
nyariv
Product
SandboxJS
Version
< 0.8.29