Vulnerability · Published May 9, 2026 · Assigned by GitHub_M

CVE-2026-41311LiquidJS is vulnerable to Denial of Service via circular block reference in layout

High 7.5

In plain English

A high-severity security flaw in liquidjs from harttle. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 32% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 67.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmliquidjs10.25.7GHSA-4rc3-7j7w-m548

Affected products (as reported)

VendorProductVersions
harttle liquidjs < 10.25.7

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References