CVE-2026-25142

10.0 CRITICAL
Published: February 02, 2026 Modified: February 18, 2026
View on NVD

Description

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution. This vulnerability is fixed in 0.8.27.

AI Explanation

### 1. Summary A flaw in SandboxJS versions before 0.8.27 allows attackers to bypass sandbox restrictions using the `__lookupGetter__` method. This lets them access restricted object prototypes, escape the sandbox, and execute arbitrary code on the host system. ### 2. Affected Products - **Product**: SandboxJS (JavaScript sandboxing library) - **Affected Versions**: All versions prior to 0.8.27 (e.g., 0.8.26 and older). ### 3. Attacker Impact - **Exploitation**: An attacker with the ability to run untrusted JavaScript inside the sandbox can: - Escape the sandbox environment. - Achieve **remote code execution (RCE)** on the underlying host system, potentially stealing data, installing malware, or taking full control. ### 4. Remediation Steps - **Immediate Action**: Upgrade SandboxJS to **version 0.8.27 or later** (patched release). - **Verification**: Confirm the upgrade via `npm list sandboxjs` or your package manager. - **Mitigation**: If upgrading is delayed, restrict input to trusted sources and monitor for unusual sandbox behavior. **CVSS Context**: Critical severity (10.0) due to easy exploitation and high impact (RCE). **CWE-94**: Reflects improper code generation control, enabling sandbox bypass.

Generated: 2026-02-07 22:09

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory

3 reference(s) from NVD

Quick Stats

CVSS v3 Score
10.0 / 10.0
EPSS (Exploit Probability)
0.2%
43th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

nyariv