Uncontrolled Recursion Affecting liquidjs package, versions <10.25.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-LIQUIDJS-16205829
  • published24 Apr 2026
  • disclosed24 Apr 2026
  • creditThao Nguyen

Introduced: 24 Apr 2026

NewCVE-2026-41311  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade liquidjs to version 10.25.6 or higher.

Overview

liquidjs is an A simple, expressive, safe and Shopify compatible template engine in pure JavaScript.

Affected versions of this package are vulnerable to Uncontrolled Recursion through a circular reference in the block.ts during OUTPUT mode. An attacker can cause the application to enter an infinite recursive loop, leading to memory exhaustion and process termination by submitting a nested block with the same child block name.

CVSS Base Scores

version 4.0
version 3.1