Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @nyariv/sandboxjs
  4. ›
  5. CVE-2026-43898

CVE-2026-43898: SandboxJS has a sandbox escape via Function.caller leakage of internal call op

May 11, 2026 (updated June 9, 2026)

Sandbox-defined functions expose Function.caller, allowing sandboxed code to recover the internal LispType.Call runtime callback. That callback can then be invoked with attacker-controlled fake context and obj values to extract blocked host statics, recover the real host Function constructor, and execute arbitrary host JavaScript.

References

  • github.com/advisories/GHSA-g8f2-4f4f-5jqw
  • github.com/nyariv/SandboxJS/commit/826865251232611ec94078bab5a18ec875dad4a5
  • github.com/nyariv/SandboxJS/security/advisories/GHSA-g8f2-4f4f-5jqw
  • nvd.nist.gov/vuln/detail/CVE-2026-43898

Code Behaviors & Features

Detect and mitigate CVE-2026-43898 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.9.6

Fixed versions

  • 0.9.6

Solution

Upgrade to version 0.9.6 or above.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

npm/@nyariv/sandboxjs/CVE-2026-43898.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:19 +0000.