CVE-2026-61556: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in harttle liquidjs
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.
AI Analysis
Technical Summary
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.
CVE-2026-61556: CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop') in harttle 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
Affected software
harttle
liquidjs
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.