LiquidJS is vulnerable to Denial of Service via circular block reference in layout
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-674.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| harttle | liquidjs | before 10.25.7 | 10.25.7 | Patch available | CNA |
| — | liquidjs (npm) | before 10.25.7 | 10.25.7 | Patch available | GHSA-4rc3-7j7w-m548 |
- liquidjs Vendorharttle Affected before 10.25.7 Fixed in 10.25.7 Patch available CNA
- liquidjs (npm) Vendor— Affected before 10.25.7 Fixed in 10.25.7 Patch available GHSA-4rc3-7j7w-m548
Remediation
- Fix · CNA liquidjs (harttle) Fixed in 10.25.7
- Fix · GHSA-4rc3-7j7w-m548 liquidjs (npm) Fixed in 10.25.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-41311
- 2026-10-03 Alias added: GHSA-4rc3-7j7w-m548
References
More harttle Liquidjs vulnerabilities
- TI-2026-28394 Information disclosure in harttle liquidjs CVSS 3.1HIGH 7.5
- TI-2026-25698 LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern CVSS 3.1HIGH 7.5
- TI-2026-25696 LiquidJS: memoryLimit Bypass through Negative Range Values Leads to Process Crash CVSS 3.1HIGH 7.5
- TI-2026-27640 LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates CVSS 4.0HIGH 8.2
- TI-2022-09484 Information exposure in liquidjs CVSS 3.1MEDIUM 5.3
- TI-2026-26466 LiquidJS has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter CVSS 3.1MEDIUM 5.3
Sources
- CVE-2026-41311 · CVE Program
- CVE-2026-41311 · NVD
- FIRST EPSS
- GHSA-4rc3-7j7w-m548 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences