subscript is vulnerable to Sandbox Bypass
81
High Risk
subscript evaluates untrusted expressions against a supplied context and blocks access to constructor, prototype, and __* properties so host capabilities stay out of reach. The pre-fix guard only inspected string keys, so dynamically computed keys, assignment targets, destructuring patterns, object rest and spread, and base-less class declarations bypassed the check and reached host constructors and reflective helpers. Reaching a constructor chain lets an untrusted expression obtain the Function constructor and run arbitrary JavaScript, escaping the sandbox. The fix coerces keys before checking them, guards every access path, drops the default Object binding, and evaluates in a null-prototype context.
You are affected if you are using a version that falls within the vulnerable range and you evaluate untrusted or externally influenced expressions with subscript.
subscript is vulnerable to Sandbox Bypass in versions 9.2.0 - 10.7.1.
Upgrade the subscript library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.