CVE-2026-25520: @nyariv/sandboxjs has a Sandbox Escape issue
(updated )
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2026-25520 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →