PT-2026-5036

CVE-2026-23830

·

Published

2026-01-27

·

Updated

2026-03-07

Description by

CVSS 3.1
10
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions SandboxJS versions prior to 0.8.26
Description SandboxJS, a JavaScript sandboxing library, has a flaw where the AsyncFunction constructor is not properly isolated within the SandboxFunction. The library aims to secure code execution by replacing the global Function constructor with a sandboxed version. However, prior to version 0.8.26, mappings for AsyncFunction, GeneratorFunction, and AsyncGeneratorFunction were missing. This allows code within the sandbox to access the native host AsyncFunction constructor via the .constructor property of an async function. By obtaining this constructor, an attacker can create and execute functions outside the sandbox, leading to Remote Code Execution (RCE). The vulnerability is due to the failure to intercept the AsyncFunction constructor, allowing attackers to bypass security restrictions and gain full access to the host environment.
Recommendations Versions prior to 0.8.26 should be updated to version 0.8.26 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-WXHW-J4HC-FMQ6
Found an issue in the description? Have something to add? Feel free to write us 👾