Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Code Injection vulnerabilities in an interactive lesson.
Start learningUpgrade liquidjs to version 10.26.0 or higher.
liquidjs is an A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.
Affected versions of this package are vulnerable to Arbitrary Code Injection via the filters and tags registries in Liquid. An attacker can trigger arbitrary inherited Object.prototype members by supplying template expressions such as {{ x | valueOf }} or {% constructor %}, causing the engine to invoke built-in prototype methods as if they were registered handlers. In the filter path, this can expose internal template state to attacker-controlled templates and enable further gadget chaining toward code execution; in the tag path, it breaks tag resolution and can crash rendering with misleading errors.