High severityNVD Advisory· Published Jul 8, 2026· Updated Jul 9, 2026
LiquidJS: `pop` filter bypasses `memoryLimit` accounting that its array-filter siblings enforce
CVE-2026-55575
Description
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.1, the pop array filter at src/filters/array.ts allocated a full clone of its input array via [...toArray(v)] without calling this.context.memoryLimit.use(...), allowing a template render such as {{ huge_array | pop }} to allocate an O(N) clone of an attacker-influenced array outside the configured memoryLimit budget. This issue is fixed in version 10.27.1.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
liquidjsnpm | < 10.27.1 | 10.27.1 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-g357-x5c3-c72pghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-55575ghsaADVISORY
- github.com/harttle/liquidjs/commit/8a0c74a7fcb1671aa1dcb71ec82ba0602dc90d04ghsax_refsource_MISCWEB
- github.com/harttle/liquidjs/pull/907ghsax_refsource_MISCWEB
- github.com/harttle/liquidjs/releases/tag/v10.27.1ghsax_refsource_MISCWEB
- github.com/harttle/liquidjs/security/advisories/GHSA-g357-x5c3-c72pghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.