Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106120LiquidJS: ownPropertyOnly bypass for inherited array indices in first/last/join/reverse/slice/compact, `.first`/`.last`, negative index, and for-loop iteration
Medium 6.0
In plain English
A medium-severity information exposure in liquidjs from harttle. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | liquidjs | 10.27.2 | GHSA-fwxr-j5w2-587m |
Affected products (as reported)
Weakness: CWE-200 · Vector: 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
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-fwxr-j5w2-587m x_refsource_CONFIRM
- https://github.com/harttle/liquidjs/pull/924 x_refsource_MISC
- https://github.com/harttle/liquidjs/commit/552819a84b80c62306fe61072628a756272dc749 x_refsource_MISC
- https://github.com/harttle/liquidjs/releases/tag/v10.27.2 x_refsource_MISC