---
id: CVE-2026-69222
title: >-
  LiquidJS is a Shopify / GitHub Pages compatible template engine in pure
  JavaScript
summary: >-
  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 p…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-400
vendor: liquidjs
product: liquidjs
affected:
  - liquidjs <= 10.27.1
patched:
  - liquidjs 10.27.2
published: '2026-08-19'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:19:49.197'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-69222'
references:
  - url: >-
      https://github.com/harttle/liquidjs/commit/7ab49f999ac045ec1e87f3a7a9fd68dd9e8602b3
    label: security-advisories@github.com
  - url: 'https://github.com/harttle/liquidjs/pull/925'
    label: security-advisories@github.com
  - url: 'https://github.com/harttle/liquidjs/releases/tag/v10.27.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/harttle/liquidjs/security/advisories/GHSA-4r6h-5v86-94p3
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-69222'
  - url: 'https://github.com/advisories/GHSA-4r6h-5v86-94p3'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.0063
epssPercentile: 0.47896
aliases:
  - GHSA-4r6h-5v86-94p3
ecosystem: npm
ingestedAt: '2026-09-08T19:08:49.635Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-69222)

Affected packages:

- `liquidjs <= 10.27.1`

Patched in:

- `liquidjs 10.27.2`

Source: https://github.com/advisories/GHSA-4r6h-5v86-94p3
