Skip to content
OpenAdvisories
High · 8.2 CVE-2026-55575 EUVD-2026-42354GHSA-g357-x5c3-c72p

LiquidJS: `pop` filter bypasses `memoryLimit` accounting that its array-filter siblings enforce

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

Description

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.1, the pop array filter at src/filters/array.ts allocated a full clone of its input array via [...toArray(v)] without calling this.context.memoryLimit.use(...), allowing a template render such as {{ huge_array | pop }} to allocate an O(N) clone of an attacker-influenced array outside the configured memoryLimit budget. This issue is fixed in version 10.27.1.

Affected products

VendorProductAffectedFixed
harttle liquidjs < 10.27.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm liquidjs < 10.27.1 10.27.1 GHSA-g357-x5c3-c72p

References