Cyber Resilience

CVE-2026-25881

Nyariv Sandboxjs ≤ 0.8.31

Public PoC
Published
09 February 2026
Modified
18 February 2026
Patch / advisory
CVSS Score v3.1 9.0
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS Score 0.0055 43th percentile
Risk Priority 64 floored blend · peak EPSS

Summary

CVE-2026-25881 is a critical-severity Prototype Pollution (CWE-1321) vulnerability in Nyariv Sandboxjs. Its CVSS base score is 9.0 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 43th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-25881 is a sandbox escape vulnerability in SandboxJS, a JavaScript sandboxing library. Versions prior to 0.8.31 allow sandboxed code to mutate host built-in prototypes, such as Map.prototype or Set.prototype, by exploiting a flaw in the isGlobal protection flag. This occurs when a global prototype reference is inserted into an array literal and retrieved, stripping the isGlobal taint and enabling direct prototype mutation from within the sandbox. The issue leads to persistent host-side prototype pollution and has a CVSS v3.1 score of 9.0 (AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H), mapped to CWE-1321.

An attacker who can execute arbitrary JavaScript code within a SandboxJS sandbox—no privileges required—can exploit this to pollute host prototypes. This pollution persists outside the sandbox and may enable remote code execution in applications that process polluted properties in sensitive contexts, such as using execSync on an object with a tainted cmd property as a gadget.

The vulnerability is fixed in SandboxJS version 0.8.31. The GitHub security advisory (GHSA-ww7g-4gwx-m7wj) and the fixing commit (f369f8db26649f212a6a9a2e7a1624cb2f705b53) detail the patch, recommending immediate upgrades for affected deployments.

EU & UK References

Vulnerability Data

SandboxJS is a JavaScript sandboxing library. Prior to 0.8.31, a sandbox escape vulnerability allows sandboxed code to mutate host built-in prototypes by laundering the isGlobal protection flag through array literal intermediaries. When a global prototype reference (e.g., Map.prototype, Set.prototype) is…

more

placed into an array and retrieved, the isGlobal taint is stripped, permitting direct prototype mutation from within the sandbox. This results in persistent host-side prototype pollution and may enable RCE in applications that use polluted properties in sensitive sinks (example gadget: execSync(obj.cmd)). This vulnerability is fixed in 0.8.31.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-25142Same product: Nyariv Sandboxjs
CVE-2026-25520Same product: Nyariv Sandboxjs
CVE-2026-25586Same product: Nyariv Sandboxjs
CVE-2026-43898Same product: Nyariv Sandboxjs
CVE-2026-26954Same product: Nyariv Sandboxjs
CVE-2026-25587Same product: Nyariv Sandboxjs
CVE-2026-23830Same product: Nyariv Sandboxjs
CVE-2026-34208Same product: Nyariv Sandboxjs
CVE-2026-34211Same product: Nyariv Sandboxjs
CVE-2026-32723Same product: Nyariv Sandboxjs

Affected Assets

nyariv
sandboxjs
≤ 0.8.31

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V15.3.6

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and safe property assignment to prevent prototype pollution.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development catches prototype-pollution flaws before release.

prevents

Secure development lifecycle mandates input validation and object-handling controls that directly prevent prototype pollution.

prevents

Application security requirements explicitly call for safeguards against unsafe object attribute manipulation.

prevents

Secure architecture principles reduce the likelihood of prototype pollution through safe design patterns.

prevents

Secure coding standards directly prohibit unsafe prototype attribute assignment and require defensive checks.

prevents

Change-management processes ensure security fixes for prototype-pollution issues are tracked and deployed.

References