Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Back to intelligence
open-source-dependency-vulnerabilitywidely-deployed-product-advisoryproof-of-concept-release

JavaScript Library Flaws Enable Sandbox Escape and Code Execution

Updated 24h agoFirst seen Apr 6, 20262 sources

Two high-severity flaws were disclosed in widely used JavaScript libraries, exposing applications to sandbox bypass and arbitrary code execution. CVE-2026-34208 affects SandboxJS before 0.8.36 and allows attacker-supplied code to evade protections on direct assignment to global objects by abusing an exposed constructor path. The bypass uses this.constructor.call(target, attackerObject) to reach the internal SandboxGlobal function while Function.prototype.call remains permitted, enabling arbitrary properties to be written into host global objects and persist across sandbox instances in the same process.

A separate issue, CVE-2026-41242, impacts protobufjs before 8.0.1 and 7.5.5, where attackers can inject arbitrary code into Protocol Buffers definition type fields and trigger execution during object decoding with a malicious schema. The flaw is tracked as CWE-94 and carries a CVSS v4 rating reflecting network-reachable exploitation with high impact to confidentiality, integrity, availability, and downstream systems. Maintainers released fixes in SandboxJS 0.8.36 and protobufjs 8.0.1 and 7.5.5.

Share:
JavaScript Library Flaws Enable Sandbox Escape and Code Execution
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

4 events from the most recent confirmed update back to the earliest known activity.

4 EVENTS
Apr 18, 20262mo ago

protobufjs releases 8.0.1 and 7.5.5 to patch CVE-2026-41242

The vulnerability record states that protobufjs versions 8.0.1 and 7.5.5 remediate CVE-2026-41242. References for the fix include GitHub commits, release tags, and a GitHub Security Advisory.

protobufjs arbitrary code execution flaw disclosed as CVE-2026-41242

CVE-2026-41242 was published for protobufjs, affecting versions prior to 8.0.1 and 7.5.5. The issue allows attackers to inject arbitrary code into protobuf definition type fields, which then executes during object decoding.

Apr 6, 20263mo ago

SandboxJS 0.8.36 fixes CVE-2026-34208

SandboxJS version 0.8.36 was identified as the fix for CVE-2026-34208. The patched release addresses the sandbox integrity escape that enabled modification of host global objects.

SandboxJS sandbox escape vulnerability disclosed as CVE-2026-34208

A vulnerability in SandboxJS affecting versions prior to 0.8.36 was published as CVE-2026-34208. The flaw allows attackers to bypass sandbox protections via an exposed constructor call path and write arbitrary properties into host global objects, with changes persisting across sandbox instances in the same process.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

3 LINKEDOpen in app
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.