LiquidJS
LiquidJS is vulnerable to Denial of Service via circular block reference in layout
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CNA · CWE-674
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
harttle liquidjs
- < 10.25.7
Fixed in 10.25.7
Mitigation
Upgrade liquidjs to 10.25.7 or later.
References
- Vendor advisory github.com/harttle/liquidjs/security/advisorie…
- Patch github.com/harttle/liquidjs/commit/e2311dfd6e8…
- Release notes github.com/harttle/liquidjs/releases/tag/v10.2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.