CVE-2026-25142CWE-94

SandboxJS Prototype Pollution -> Sandbox Escape -> RCE

Critical · published February 2, 2026

CVSS v3.1
10.0
EPSS
1%
Percentile
68.7
In the wild
Unconfirmed
What it is

🔥 A sneaky oversight in SandboxJS lets attackers use __lookupGetter__ to escape the sandbox entirely—think of it as a magician revealed for not sealing the stage! 🚨 Picture a magician on stage performing tricks, but the audience can just peek behind the curtain anytime. That’s what happens here; attackers can bypass the sandbox limitations and execute their own code, turning the show into chaos! An attacker could break free from the sandbox and run malicious scripts on your system—potentially accessing sensitive data, altering functionality, or even taking full control of your application. It's absolutely devastating!

Put simply

Picture a magician on stage performing tricks, but the audience can just peek behind the curtain anytime. That’s what happens here; attackers can bypass the sandbox limitations and execute their own code, turning the show into chaos! Before version 0.8.27, the SandboxJS library fails to properly restrict the __lookupGetter__ function, allowing attackers to access prototypes and escape the restricted environment, enabling remote code execution.

What to do

An attacker could break free from the sandbox and run malicious scripts on your system—potentially accessing sensitive data, altering functionality, or even taking full control of your application. It's absolutely devastating! Upgrade to SandboxJS version 0.8.27 immediately to close this critical vulnerability. Additionally, review your application for any other instances where sandboxing is implemented to ensure overall security. Don’t let the bad guys win! You've got this! Implement these fixes, and you’ll be shielded from this vulnerability in no time. 🛡️

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01231 · 68.7th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2026-02-02T22:51Z
EPSS history
Timeline
  • 02 FEB 22:51Z
    SandboxJS Prototype Pollution -> Sandbox Escape -> RCE
    cvelistv5