CVE-2026-55575 PUBLISHED

LiquidJS: `pop` filter bypasses `memoryLimit` accounting that its array-filter siblings enforce

Assigner: GitHub_M
Reserved: 16.06.2026 Published: 08.07.2026 Updated: 09.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 8.2

Product Status

Vendor harttle
Product liquidjs
Versions
  • Version < 10.27.1 is affected

References

Problem Types

  • CWE-770: Allocation of Resources Without Limits or Throttling CWE