CVE-2026-41311 PUBLISHED

LiquidJS is vulnerable to Denial of Service via circular block reference in layout

Assigner: GitHub_M
Reserved: 20.04.2026 Published: 09.05.2026 Updated: 09.05.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor harttle
Product liquidjs
Versions
  • Version < 10.25.7 is affected

References

Problem Types

  • CWE-674: Uncontrolled Recursion CWE