CVE-2026-25520

CRITICALCVSS 10/10EPSS 0.78%

Last modified

CVE-2026-25520 is a critical-severity vulnerability rated 10/10 on the CVSS scale. SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped. EPSS estimates a 0.78% chance of exploitation in the next 30 days.

Description

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped. Object.values/Object.entries can be used to get an Array containing the host's Function constructor, by using Array.prototype.at you can obtain the hosts Function constructor, which can be used to execute arbitrary code outside of the sandbox. This vulnerability is fixed in 0.8.29.

Metrics

CVSS 3.1
10/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

EPSS Probability
0.78%

51.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
NyarivSandboxjs< 0.8.29

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2026-25520?
SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped. Object.values/Object.entries can be used to get an Array containing the host's Function constructor, by using Array.prototype.at you can obtain the hosts Function constructor, which can be used to execute arbitrary code outside of the sandbox. This vulnerability is fixed in 0.8.29.
How severe is CVE-2026-25520?
CVE-2026-25520 has a CVSS score of 10/10 (CRITICAL severity). The EPSS model estimates a 0.78% probability of exploitation in the next 30 days.
How do I fix CVE-2026-25520?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2026-25520?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST