Skip to main content
EPSS 0.5%top 58%

CVE-2026-61556: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in harttle liquidjs

0
High
VulnerabilityCVE-2026-61556cvecve-2026-61556cwe-835
Published: 08/19/2026 (08/19/2026, 20:49:56 UTC)
Source: CVE Database V5
Vendor/Project: harttle
Product: liquidjs

Description

A high-severity infinite loop vulnerability exists in the LiquidJS template engine versions 10.26.0 through 10.27.0. The issue occurs in the strip_html filter when processing input strings containing a '<' character with no corresponding closing '>'. This causes the template rendering to hang indefinitely, resulting in a denial of service. The vulnerability is fixed in version 10.27.1.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

harttle

liquidjs

Affected versions
>=10.26.0 <10.27.1
harttle/liquidjs
pkg:npm/harttle/liquidjs
Affected versions
<10.27.1 >=10.26.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/11/2026, 04:47:28 UTC

Technical Analysis

CVE-2026-61556 is an infinite loop vulnerability (CWE-835) in the harttle LiquidJS template engine, specifically in the strip_html filter implemented in src/filters/html.ts. When the input string contains a '<' character preceded by at least one character and lacks a subsequent '>', the loop that searches for HTML tag boundaries fails to advance the loop index properly. This causes the loop to reprocess the same state indefinitely, blocking template rendering and enabling denial of service with minimal input such as 'a<'. The flaw affects versions >=10.26.0 and <10.27.1 and is resolved in version 10.27.1.

Potential Impact

An attacker can cause the LiquidJS template engine to enter an infinite loop during template rendering by supplying crafted input strings that trigger the strip_html filter's faulty loop logic. This results in denial of service by blocking the rendering process. The vulnerability does not require privileges or user interaction and can be triggered remotely if the application processes untrusted input through LiquidJS.

Mitigation Recommendations

Upgrade LiquidJS to version 10.27.1 or later, where this infinite loop issue in the strip_html filter is fixed. No other mitigation is required as the fix addresses the root cause directly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-07-10T16:48:39.923Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a861b44acd9273b499fbb27

Added to database: 08/19/2026, 21:08:20 UTC

Last enriched: 09/11/2026, 04:47:28 UTC

Last updated: 10/03/2026, 02:46:06 UTC

Views: 89

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses