CVE-2026-34166
MEDIUM EPSS 38.7%
Published Apr 8, 20262mo ago · Modified Jun 17, 20262w ago
5.3 CVSS 3.1
Published Apr 8, 2026 2mo ago
Last Modified Jun 17, 2026 2w ago
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability Low
Threat Intelligence
EPSS Exploit Probability
38.7% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available
Weaknesses 1
CWE-400 Uncontrolled Resource Consumption Resource Mgmt
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| liquidjs | liquidjs | * | <10.25.3 |
References 3
- github.com https://github.com/harttle/liquidjs/commit/abc058be0f33d6372cd2216f4945183167abeb25
- github.com https://github.com/harttle/liquidjs/releases/tag/v10.25.3
- github.com https://github.com/harttle/liquidjs/security/advisories/GHSA-mmg9-6m6j-jqqx
Remediation
- github.com https://github.com/harttle/liquidjs/commit/abc058be0f33d6372cd2216f4945183167abeb25