CVE-2026-25641Nyariv Sandboxjs
Critical 9.0 No auth needed
Follow: this CVE · Nyariv · Nyariv Sandboxjs We alert you by email or Slack (account required).
- Priority
- 69
- CVSS 3.1
- 9.0
- EPSS
- —
- Auth required
- No
- Published
- Feb 6, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-367
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, there is a sandbox escape vulnerability due to a mismatch between the key on which the validation is performed and the key used for accessing properties. Even though the key used in property accesses is annotated as string, this is never enforced. So, attackers can pass malicious objects that coerce to different string values when used, e.g., one for the time the key is sanitized using hasOwnProperty(key) and a different one for when the key is used for the actual property access. This vulnerability is fixed in 0.8.29.
What to do
- Apply the vendor's security update for Sandboxjs.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @nyariv/sandboxjs |
< 0.8.29 |
0.8.29 |
npm install @nyariv/sandboxjs@0.8.29 |
Per OSV / GitHub Advisories (GHSA-7x3h-rm86-3342). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| nyariv | sandboxjs | < 0.8.29 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Exploit Vendor Advisory