Skip to content
OpenAdvisories
High · 7.5 CVE-2026-41311 EUVD-2026-28886GHSA-4rc3-7j7w-m548

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

Published May 9, 2026 · Updated May 11, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
harttle liquidjs < 10.25.7 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm liquidjs < 10.25.7 10.25.7 GHSA-4rc3-7j7w-m548

References