Allocation of Resources Without Limits or Throttling Affecting liquidjs package, versions >=10.15.0 <10.26.0


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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-LIQUIDJS-16960002
  • published28 May 2026
  • disclosed27 May 2026
  • creditoffset

Introduced: 27 May 2026

NewCVE-2026-45357  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade liquidjs to version 10.26.0 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 Allocation of Resources Without Limits or Throttling through the date filter in filters/date.ts and the strftime formatter in strftime.ts. An attacker can exhaust memory or hang rendering by supplying a crafted date format string that includes extremely large numeric width directives or non-string format values that expand into large padding allocations. The vulnerable code builds padding one character at a time and does not account for the allocation cost of strftime width handling in its memory accounting path, so a user-controlled template or data value can drive unbounded allocation work during date formatting. This can crash the process or make the application unresponsive while rendering attacker-controlled templates.

CVSS Base Scores

version 4.0
version 3.1