Skip to main content
VulnerabilityPublished Updated

CVE-2026-25142: nyariv SandboxJS · Code Injection

Affects nyariv SandboxJSSource CVE Database V5

0

Not known to be exploited · CVSS 10.0 Critical : upgrade to 0.8.27 as a priority.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
1.2% chance of exploitation in 30 days – higher than 68% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.8.27
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade SandboxJS and nyariv/sandboxjs to 0.8.27.

Affected software

ProductAffectedFixed in
nyarivSandboxJSAffected
  • <0.8.27
Fixed in
  • 0.8.27
npmnyariv/sandboxjspkg:npm/nyariv/sandboxjsOther threatsAffected
  • <0.8.27
Fixed in
  • 0.8.27

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade SandboxJS to version 0.8.27 or later to remediate this vulnerability. If upgrading is not immediately feasible, organizations should implement strict input validation and restrict the use of __lookupGetter__ and similar prototype-access methods within sandboxed code. Employ runtime monitoring and anomaly detection to identify unusual sandbox escape attempts. Review and harden sandbox configurations to limit access to sensitive APIs and system resources. Conduct thorough code audits to identify any indirect usage of vulnerable SandboxJS versions in dependencies or third-party components. Implement network segmentation and least privilege principles to contain potential breaches. Additionally, maintain up-to-date incident response plans to quickly address any exploitation attempts. Regularly monitor threat intelligence feeds for emerging exploits related to this CVE.

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.

References

Community reviews

Loading reviews…