CVE-2026-41311 LiquidJS is vulnerable to Denial of Service via circular block reference in layout
MediumCVSS 6.5
EPSS 0.38%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| harttle liquidjs | = < 10.25.7 | No fix listed |
| npm liquidjs(npm) | < 10.25.7 | 10.25.7 |
| liquidjs | < 10.25.7 | 10.25.7 |
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 exploit vendor-advisory
- https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 patch
- https://github.com/harttle/liquidjs/releases/tag/v10.25.7 product release-notes
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product