SecurityContext

CVE-2026-25142: SandboxJS - Remote Code Execution

  • Cve: CVE-2026-25142
  • Name: SandboxJS - Remote Code Execution
  • Description: SandboxJS is a JavaScript sandboxing library. Prior to 0.8.27, SanboxJS does not properly restrict __lookupGetter__ which can be used to obtain prototypes, which can be used for escaping the sandbox / remote code execution. This vulnerability is fixed in 0.8.27.
  • Impact: Attackers can escape the sandbox and execute arbitrary code remotely, compromising the host environment.
  • Remediation: Upgrade to version 0.8.27 or later.
  • Vulnerability type: prototype_pollution
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 10
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Epss score: 0.01213
  • Epss percentile: 0.69283
  • Assignee: [email protected]
  • Published at: 2026-02-02T23:16:09Z
  • Age in days: 295
  • Modified at: 2026-06-17T10:24:10Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-25142
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-94Improper Control of Generation of Code
CWE-1321Improperly Controlled Modification of Object Prototype Attributes

Public exploits

UrlSourceAdded date
https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7nvd2026-02-02

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/nyariv/SandboxJS/commit/75c8009db32e6829b0ad92ca13bf458178442bd3Patch
https://github.com/nyariv/SandboxJS/security/advisories/GHSA-9p4w-fq8m-2hp7Exploit, Vendor Advisory
https://github.com/nyariv/SandboxJS/blob/f212a38fb5a6d4bc2bc2e2466c0c011ce8d41072/src/executor.ts#L368-L398Product

Products

ProductAffectedPlatform boundSourcesUrl
nyariv:sandboxjs< 0.8.27nonvd/v1/products/nyariv/sandboxjs

Projects

RepositoryLink kindsIndexedUrl
nyariv/SandboxJScommit, package, security_advisoryyes/v1/repositories/nyariv/SandboxJS

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-02-02
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts