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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-34166— LiquidJS has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter

Quick assessment

Affected
harttle liquidjs
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

liquidjs是Jun Yang个人开发者的一个简单、表达、安全且兼容 Shopify 的纯 JavaScript 模板引擎。 liquidjs 10.25.3之前版本存在资源管理错误漏洞,该漏洞源于replace过滤器内存使用计算错误,可能导致绕过内存限制并引发拒绝服务。

CVSS 3.7 · Low EPSS 0.57% · P46

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-34166

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 has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter
Source: CVE Program / CVE List V5
Vulnerability Description
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, the replace filter in LiquidJS incorrectly accounts for memory usage when the memoryLimit option is enabled. It charges str.length + pattern.length + replacement.length bytes to the memory limiter, but the actual output from str.split(pattern).join(replacement) can be quadratically larger when the pattern occurs many times in the input string. This allows an attacker who controls template content to bypass the memoryLimit DoS protection with approximately 2,500x amplification, potentially causing out-of-memory conditions. This vulnerability is fixed in 10.25.3.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
liquidjs 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
liquidjs是Jun Yang个人开发者的一个简单、表达、安全且兼容 Shopify 的纯 JavaScript 模板引擎。 liquidjs 10.25.3之前版本存在资源管理错误漏洞,该漏洞源于replace过滤器内存使用计算错误,可能导致绕过内存限制并引发拒绝服务。
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.25.3 -

II. Public POCs for CVE-2026-34166

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-34166

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

Vendor Advisories for CVE-2026-34166 (1)

Same Patch Batch · harttle · 2026-04-08 · 4 CVEs total

CVE-2026-39412 5.3 MEDIUM LiquidJS has an ownPropertyOnly bypass via sort_natural filter — prototype property inform
CVE-2026-35525 LiquidJS has a root restriction bypass for partial and layout loading through symlinked te
CVE-2026-39859 LiquidJS has a renderFile() / parseFile() bypass configured root and allow arbitrary file

IV. Related Vulnerabilities

V. Comments for CVE-2026-34166

No comments yet


Leave a comment