---
id: CVE-2026-106120
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, enabling ownPropertyOnly does not consistently
  restrict inherited array indices because negative indexing, .first, .last, the
  first fil…
severity: medium
cvss: 6
cvssVector: 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'
cwe:
  - CWE-200
vendor: harttle
product: liquidjs
affected:
  - liquidjs < 10.27.2
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T19:17:43.123'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106120'
references:
  - url: >-
      https://github.com/harttle/liquidjs/commit/552819a84b80c62306fe61072628a756272dc749
    label: security-advisories@github.com
  - url: 'https://github.com/harttle/liquidjs/pull/924'
    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-fwxr-j5w2-587m
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
cvssSource: cna
ingestedAt: '2026-10-06T19:13:33.944Z'
---

## Overview

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.2, enabling ownPropertyOnly does not consistently restrict inherited array indices because negative indexing, .first, .last, the first filter, the last filter, join, reverse, slice, compact, and for-loop iteration can read prototype-provided elements outside readJSProperty(). An attacker who can influence prototype state or inherited array-index data and cause templates to render affected operations can disclose values that ownPropertyOnly is expected to hide. Direct positive indexing and ordinary object prototype reads are blocked, but the alternate array paths remain affected. This issue is fixed in 10.27.2.

## Remediation

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