Home

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.

PUBLISHED Reserved 2026-04-20 | Published 2026-05-09 | Updated 2026-05-09 | Assigner GitHub_M




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

Problem types

CWE-674: Uncontrolled Recursion

Product status

< 10.25.7
affected

References

github.com/...quidjs/security/advisories/GHSA-4rc3-7j7w-m548

github.com/...ommit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0

github.com/harttle/liquidjs/releases/tag/v10.25.7

cve.org (CVE-2026-41311)

nvd.nist.gov (CVE-2026-41311)

Download JSON