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.
References
| Link | Resource |
|---|---|
| https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 | Patch |
| https://github.com/harttle/liquidjs/releases/tag/v10.25.7 | Product Release Notes |
| https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 | Exploit Vendor Advisory |
| https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-05-09 04:16
Updated : 2026-07-24 21:10
NVD link : CVE-2026-41311
Mitre link : CVE-2026-41311
CVE.ORG link : CVE-2026-41311
JSON object : View
Products Affected
liquidjs
- liquidjs
CWE
CWE-674
Uncontrolled Recursion
