Skip to content

CVE-2026-69222 LiquidJS: Uncontrolled Resource Consumption in `join` filter allows template authors to bypass `memoryLimit` and crash the process

HighCVSS 7.5 EPSS 0.63%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

Description

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.2, the join filter in src/filters/array.ts computes complexity from array.length and separator length instead of the total string length produced by array.join(sep). The concat filter can cheaply double arrays of references, after which join materializes the referenced content while charging only for element count, allowing a template to exceed a configured memoryLimit by a large factor. The sibling array_to_sentence_string filter in src/filters/string.ts has the same accounting defect, and a crafted template can allocate toward V8's string or process memory limit and crash the process. This issue is fixed in version 10.27.2.

Upgrade path

2 packages: 1 fixed.

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

Affected products

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

References