CVE-2026-106120 LiquidJS: ownPropertyOnly bypass for inherited array indices in first/last/join/reverse/slice/compact, `.first`/`.last`, negative index, and for-loop iteration
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/harttle/liquidjs/security/advisories/GHSA-fwxr-j5w2-587m exploit vendor-advisory
- https://github.com/harttle/liquidjs/pull/924 patch
- https://github.com/harttle/liquidjs/commit/552819a84b80c62306fe61072628a756272dc749 patch
- https://github.com/harttle/liquidjs/releases/tag/v10.27.2
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-93772 third-party-advisory