CVE-2026-45617: CWE-1333: Inefficient Regular Expression Complexity in harttle liquidjs
LiquidJS versions 10.25.7 and below contain a vulnerability in the built-in strip_html filter where a flawed regular expression can cause excessive backtracking. This leads to a Regular Expression Denial of Service (ReDoS) attack that blocks the Node.js event loop and causes high CPU usage. The issue is triggered by input containing many <script, <style, or <!-- tokens without matching closing tags. The vulnerability has been fixed in version 10.26.0.
AI Analysis
Technical Summary
The LiquidJS template engine (versions 10.25.7 and earlier) includes a strip_html filter that uses a regular expression with four flawed lazy-quantified alternatives. When processing crafted input containing numerous unmatched <script, <style, or <!-- tokens, the V8 regex engine performs quadratic backtracking, resulting in O(N²) complexity. This causes severe event-loop blocking and CPU saturation in Node.js, effectively enabling a ReDoS attack. The default memoryLimit setting does not limit CPU usage caused by the regex. This vulnerability allows an unauthenticated attacker to cause denial of service by sending a single large crafted request. The issue is resolved in LiquidJS version 10.26.0.
Potential Impact
An unauthenticated attacker can cause a denial of service by sending specially crafted input that triggers quadratic regex backtracking in the strip_html filter. This stalls the Node.js event loop for several seconds and saturates CPU resources, potentially impacting availability of services using vulnerable LiquidJS versions. No confidentiality or integrity impacts are reported.
Mitigation Recommendations
Upgrade LiquidJS to version 10.26.0 or later, where this vulnerability has been fixed. Until upgraded, be aware that the default memoryLimit setting does not prevent CPU exhaustion from this regex issue. No other mitigations are specified.
CVE-2026-45617: CWE-1333: Inefficient Regular Expression Complexity in harttle liquidjs
Description
LiquidJS versions 10.25.7 and below contain a vulnerability in the built-in strip_html filter where a flawed regular expression can cause excessive backtracking. This leads to a Regular Expression Denial of Service (ReDoS) attack that blocks the Node.js event loop and causes high CPU usage. The issue is triggered by input containing many <script, <style, or <!-- tokens without matching closing tags. The vulnerability has been fixed in version 10.26.0.
CVSS v3.1
Score 7.5high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The LiquidJS template engine (versions 10.25.7 and earlier) includes a strip_html filter that uses a regular expression with four flawed lazy-quantified alternatives. When processing crafted input containing numerous unmatched <script, <style, or <!-- tokens, the V8 regex engine performs quadratic backtracking, resulting in O(N²) complexity. This causes severe event-loop blocking and CPU saturation in Node.js, effectively enabling a ReDoS attack. The default memoryLimit setting does not limit CPU usage caused by the regex. This vulnerability allows an unauthenticated attacker to cause denial of service by sending a single large crafted request. The issue is resolved in LiquidJS version 10.26.0.
Potential Impact
An unauthenticated attacker can cause a denial of service by sending specially crafted input that triggers quadratic regex backtracking in the strip_html filter. This stalls the Node.js event loop for several seconds and saturates CPU resources, potentially impacting availability of services using vulnerable LiquidJS versions. No confidentiality or integrity impacts are reported.
Mitigation Recommendations
Upgrade LiquidJS to version 10.26.0 or later, where this vulnerability has been fixed. Until upgraded, be aware that the default memoryLimit setting does not prevent CPU exhaustion from this regex issue. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-12T20:31:43.448Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a332119f198dc38c11faa5a
Added to database: 6/17/2026, 10:35:05 PM
Last enriched: 6/17/2026, 10:50:00 PM
Last updated: 6/18/2026, 12:51:35 AM
Views: 5
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.