Infinite loop Affecting liquidjs package, versions >=10.26.0 <10.27.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.32% (25th percentile)

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-19006352
  • published20 Aug 2026
  • disclosed19 Aug 2026
  • creditNariyoshiChida

Introduced: 19 Aug 2026

NewCVE-2026-61556  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade liquidjs to version 10.27.1 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 Infinite loop via the strip_html filter in src/filters/html.ts, which enters an infinite loop when processing certain input strings. A remote attacker can trigger this condition by passing input that causes the loop index i to not advance past the current < position, hanging the process indefinitely and exhausting server resources.

CVSS Base Scores

version 4.0
version 3.1