Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 69%

CVE-2026-41311: CWE-674: Uncontrolled Recursion in harttle liquidjs

0
High
VulnerabilityCVE-2026-41311cvecve-2026-41311cwe-674
Published: 05/09/2026 (05/09/2026, 04:03:25 UTC)
Source: CVE Database V5
Vendor/Project: harttle
Product: liquidjs

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

harttle/liquidjs
pkg:npm/harttle/liquidjs
Affected versions
<10.25.7

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/17/2026, 10:45:37 UTC

Technical Analysis

LiquidJS, a JavaScript template engine compatible with Shopify and GitHub Pages, contained an uncontrolled recursion vulnerability (CWE-674) in versions before 10.25.7. Specifically, circular references in {% layout %} and {% block %} constructs cause infinite recursive loops, consuming approximately 4GB of memory and causing the Node.js process to crash with a fatal heap out of memory error. This vulnerability allows unauthenticated users who can submit Liquid templates to trigger a denial of service. The vulnerability is tracked as CVE-2026-41311 with a CVSS 3.1 base score of 7.5 (high severity). The issue is fixed in version 10.25.7.

Potential Impact

Exploitation results in a denial of service by crashing the Node.js process due to heap memory exhaustion. There is no impact on confidentiality or integrity. The attack requires the ability to submit crafted Liquid templates, which could be possible in environments where user input is rendered using vulnerable LiquidJS versions.

Mitigation Recommendations

A fix is available in LiquidJS version 10.25.7. Users and administrators should upgrade to version 10.25.7 or later to remediate this vulnerability. Since this is a self-hosted library, patching the dependency in affected applications is required. No other mitigations are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-20T14:01:46.671Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69ffe1afcbff5d8610eac9e9

Added to database: 05/10/2026, 01:38:55 UTC

Last enriched: 05/17/2026, 10:45:37 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 107

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses