CVE-2026-33287

GHSA-6q5m-63h6-5x4v · published 25 Mar 2026 · updated 29 Oct 2026

LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern

7.5HighCVSS 7.5EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in liquidjs 10.25.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
harttle<10.25.1
npm: liquidjs<10.25.110.25.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-33287 severity on Zeptric[![CVE-2026-33287](https://zeptric.io/badge/cve/CVE-2026-33287.svg)](https://zeptric.io/cve/CVE-2026-33287)