Skip to content

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

HighCVSS 8.2 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm liquidjs(npm) < 10.27.1; <= 10.27.0 10.27.1 Fixed
harttle liquidjs = < 10.27.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
harttle liquidjs = < 10.27.1 No fix listed
npm liquidjs(npm) <= 10.27.0 No fix listed
npm liquidjs(npm) < 10.27.1 10.27.1

References