Denial of Service Vulnerability in LiquidJS Template Engine by Harttle
CVE-2026-41311
7.5HIGH
What is CVE-2026-41311?
A Denial of Service vulnerability exists in the LiquidJS template engine prior to version 10.25.7, due to a circular block reference between {% layout %} and {% block %} tags. This flaw can trigger an infinite recursive loop, leading to the consumption of all available memory (~4GB) and crashing the Node.js process with the FATAL ERROR: JavaScript heap out of memory message. Any user who can upload a Liquid template could exploit this to disrupt service availability. A fix has been implemented in version 10.25.7.
Affected Version(s)
liquidjs < 10.25.7
