CVE-2026-41311
LiquidJS is a Shopify / GitHub Pages compatible template engine in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548
- github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0
- github.com/advisories/GHSA-4rc3-7j7w-m548
- github.com/harttle/liquidjs/releases/tag/v10.25.7
- nvd.nist.gov/vuln/detail/CVE-2026-41311
- nvd.nist.gov/vuln/detail/CVE-2026-41311
- cve.org/CVERecord?id=CVE-2026-41311
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.