Vulnerability details
CVE-2026-34208
nyariv SandboxJS
SandboxJS: Sandbox integrity escape
CVSS 3.1
10.0Critical
Official description
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.36, SandboxJS blocks direct assignment to global objects (for example Math.random = ...), but this protection can be bypassed through an exposed callable constructor path: this.constructor.call(target, attackerObject). Because this.constructor resolves to the internal SandboxGlobal function and Function.prototype.call is allowed, attacker code can write arbitrary properties into host global objects and persist those mutations across sandbox instances in the same process. This vulnerability is fixed in 0.8.36.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 10.0Critical | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| nyariv | SandboxJS | < 0.8.36 | CVEProject cvelistV5 (CNA) |
References and advisories
1- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-2gg9-6p7w-6cpj x_refsource_CONFIRM
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-04-06
- Last updated
- 2026-04-06
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.58%
Probability of exploitation in 30 days
47.9%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-693Protection Mechanism Failure
- CWE-915Improperly Controlled Modification of Dynamically-Determined Object Attributes