Vulnerability
CVE-2026-41311
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to version 10.25.7, a circular block reference in {% layout %} / {% block %} causes an infinite recursive loop, consuming all available memory (~4GB) and crashing the Node.js process with FATAL ERROR: JavaScript heap out of memory. This allows any user who can submit a Liquid template to perform a Denial of Service attack. This issue has been patched in version 10.25.7.
9 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-44f6-r7x2-ccqg
- CGA-46fv-cp68-6pgf
- CGA-645p-49x4-8qwc
- CGA-87g3-7xw7-2pv8
- CGA-g2f7-prrv-q8jp
- CGA-gpm3-xcp4-6545
- CGA-r333-42mr-w24j
- CGA-x46g-48cf-cp32
-
GHSA-4rc3-7j7w-m548
liquidjs has a Denial of Service via circular block reference in layout