CVE-2026-25641
Last modified
CVE-2026-25641 is a critical-severity vulnerability rated 9/10 on the CVSS scale. 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. EPSS estimates a 0.49% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Nyariv | Sandboxjs | < 0.8.29 |
References
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-7x3h-rm86-3342Exploit, Vendor Advisory
- https://github.com/nyariv/SandboxJS/security/advisories/GHSA-7x3h-rm86-3342Exploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-25641?
How severe is CVE-2026-25641?
How do I fix CVE-2026-25641?
Are you affected by CVE-2026-25641?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
