Description
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.
Affected products
liquidjs: liquidjs
References4
- github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-… ExploitVendor Advisory
- github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-… ExploitVendor Advisory
- github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1… Patch
- github.com/harttle/liquidjs/releases/tag/v10.25.7 ProductRelease Notes
Metrics
- CVSS 3.1
-
6.5
MEDIUM
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 0% percentile: 33 · as of 13 November 2026
- CWE
- CWE-674
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.