Cloudanix VulnDB

CVE-2026-69222

High · 7.5

CVSS

7.5

EPSS

0.6%

Published

Aug 19, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in a template engine used by many websites and build tools lets attackers crash the service by feeding it specially crafted page layouts that use far more memory than intended.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The join filter (and sibling array_to_sentence_string) in LiquidJS miscalculates complexity using only array length and separator size rather than the final materialized string length; combined with cheap reference duplication via concat, a template can force allocation far beyond a configured memoryLimit, exhausting V8 string or process memory and crashing the process.

Why it matters to the business

Applications relying on LiquidJS for template rendering can be crashed via crafted input, producing denial of service that interrupts page generation, API responses, or build pipelines until the process is restarted.

How an attack unfolds

An attacker supplies a template containing a concat operation that cheaply duplicates an array of object references followed by a join (or array_to_sentence_string) that materializes the full concatenated content; because complexity accounting only counts elements rather than bytes produced, the operation bypasses the memoryLimit guard and drives allocation toward V8 or OS limits, terminating the renderer.

How to fix it

Upgrade LiquidJS to version 10.27.2 or newer; the corrected filters now compute complexity from the actual string length produced by join.

How to confirm the fix worked

Confirm the installed package version is at least 10.27.2; re-test previously crashing templates under the same memoryLimit setting to verify they are now rejected before allocation exceeds the cap.

Typical attack path

  1. Submit a malicious template to any endpoint or build step that invokes LiquidJS rendering
  2. Use concat inside the template to create a large array of references with minimal cost
  3. Apply join or array_to_sentence_string to force materialization of the expanded content
  4. Trigger repeated evaluation or large input sizes to exceed the mis-accounted memoryLimit
  5. Observe process termination or out-of-memory crash

How to detect it

Review application and process logs for LiquidJS renderers that terminate with out-of-memory errors or exceed expected memory usage during template evaluation; correlate spikes with incoming template content or user-supplied layouts.

What your security team should do

  • Immediately upgrade all LiquidJS installations to 10.27.2 or later
  • Add dependency scanning to block future versions prior to 10.27.2
  • Monitor template-rendering worker processes for sudden memory spikes or OOM kills
  • Consider temporarily lowering memoryLimit values as a defense-in-depth measure until upgrades complete

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities