Description
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.
Recommendation
Update the liquidjs package to the latest compatible version. Followings are version details:
- Affected version(s): < 10.25.7
- Patched version(s): 10.25.7
References
Could your website be exposed too?
SmartScanner can check your website for liquidjs has a Denial of Service via circular block reference in layout and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Serialize JavaScript has CPU Exhaustion Denial of Service via crafted array-like objects - CVE-2026-34043
- Handlebars.js has Denial of Service via Malformed Decorator Syntax in Template Compilation - CVE-2026-33939
- React Router vulnerable to Denial of Service via reflected user input in single-fetch - CVE-2026-34077
- Axios is Vulnerable to Denial of Service via __proto__ Key in mergeConfig - CVE-2026-25639


