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

High 7.5 Published Updated

An attacker can cause a Denial of Service by submitting a Liquid template with circular block references, crashing the Node.js process.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-41311?

CVE-2026-41311 is a high-severity denial of service vulnerability in harttle liquidjs, published on 9 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-674

Which versions are affected by CVE-2026-41311?

2 open source packages ship an affected version, including liquidjs. It affects 1 product.

PackageAffectedFixed in
liquidjs npmAll versions10.25.7
liquidjs npmAll versions10.25.7

Products include Liquidjs Liquidjs.

How do I fix CVE-2026-41311?

Upgrade liquidjs to 10.25.7 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-41311 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-41311 exists.

Sources

Also known as CLEANSTART-2026-ZO53086, ECHO-efc0-201a-49b9, GHSA-4rc3-7j7w-m548, MINI-jvxh-m69p-rqvr, MINI-mgm9-xmfh-9j3w, MINI-x34c-36gp-mfxx.

Is CVE-2026-41311 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free