CVE-2026-33287
HIGHLiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern
Title source: cnaDescription
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to version 10.25.1, the `replace_first` filter in LiquidJS uses JavaScript's `String.prototype.replace()` which interprets `$&` as a back reference to the matched substring. The filter only charges `memoryLimit` for the input string length, not the amplified output. An attacker can achieve exponential memory amplification (up to 625,000:1) while staying within the `memoryLimit` budget, leading to denial of service. Version 10.25.1 patches the issue.
Scores
CVSS v3
7.5
EPSS
0.0003
EPSS Percentile
8.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Details
CWE
CWE-20
CWE-400
Status
published
Products (3)
harttle/liquidjs
< 10.25.1
liquidjs/liquidjs
< 10.25.1
npm/liquidjs
0npm
Published
Mar 26, 2026
Tracked Since
Mar 26, 2026