Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-45617— LiquidJS: ReDoS via Quadratic Backtracking in `strip_html` Filter Regex

Quick assessment

Affected
harttle liquidjs
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

harttle liquidjs是harttle的嵌入式Web服务器。 Yang Jun liquidjs 10.26.0之前版本存在资源管理错误漏洞,该漏洞源于内置的 strip_html 过滤器使用了包含四个有缺陷的惰性量词替代方案的正则表达式,导致通过二次回溯引发正则拒绝服务攻击,可能导致未经身份验证的攻击者在单次请求中包含特制的不可信输入,造成严重的事件循环阻塞和CPU放大。

CVSS 7.5 · High EPSS 0.66% · P51

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 1

VendorProduct Version RangeStatus
harttle liquidjs < 10.26.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45617

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
LiquidJS: ReDoS via Quadratic Backtracking in `strip_html` Filter Regex
Source: CVE Program / CVE List V5
Vulnerability Description
LiquidJS is a Shopify/GitHub Pages compatible template engine written in pure JavaScript. In versions 10.25.7 and below, the built-in strip_html filter uses a regex containing four flawed lazy-quantified alternatives, leading to ReDoS via quadratic backtracking. When the input contains many <script, <style, or <!-- opener tokens without matching closers, the V8 regex engine performs O(N²) backtracking, blocking the Node.js event loop. A single ~350 KB request ('<script'.repeat(50000)) stalls the process for ~10 seconds; cost grows quadratically with input size. The default memoryLimit: Infinity does not bound regex CPU, and even when configured strip_html only charges str.length to the limit — the regex itself runs unbounded. A single unauthenticated request containing crafted untrusted input can cause severe event-loop blocking and CPU amplification that saturates Node.js workers while bypassing memoryLimit protections. This issue has been fixed in version 10.26.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1333
Source: CVE Program / CVE List V5
Vulnerability Title
Yang Jun liquidjs 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
harttle liquidjs是harttle的嵌入式Web服务器。 Yang Jun liquidjs 10.26.0之前版本存在资源管理错误漏洞,该漏洞源于内置的 strip_html 过滤器使用了包含四个有缺陷的惰性量词替代方案的正则表达式,导致通过二次回溯引发正则拒绝服务攻击,可能导致未经身份验证的攻击者在单次请求中包含特制的不可信输入,造成严重的事件循环阻塞和CPU放大。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
harttle liquidjs < 10.26.0 -

II. Public POCs for CVE-2026-45617

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 7391 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-45617

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-45617 (1)

Vendor Advisories for CVE-2026-45617 (1)

Vendor Pages for CVE-2026-45617 (1)

Same Patch Batch · harttle · 2026-06-17 · 5 CVEs total

CVE-2026-45357 7.5 HIGH LiquidJS: Memory and render limit bypass via unbounded width padding in `date` filter (str
CVE-2026-44645 6.5 MEDIUM LiquidJS has a renderLimit DoS guard bypass via empty `{% for %}` body
CVE-2026-44644 6.1 MEDIUM LiquidJS's strip_html filter bypass via newline characters in HTML tags enables XSS
CVE-2026-44646 5.3 MEDIUM LiquidJS: `{% render %}` tag silently bypasses per-render `ownPropertyOnly:true` via `Cont

IV. Related Vulnerabilities

V. Comments for CVE-2026-45617

No comments yet


Leave a comment