Read the docs
TI-2026-25698 Aliases CVE-2026-33287GHSA-6q5m-63h6-5x4v

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

Priority HIGH 72CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00479 41st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed liquidjs (harttle): 10.25.1liquidjs (npm): 10.25.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
harttleliquidjsbefore 10.25.110.25.1Patch availableCNA
—liquidjs (npm)before 10.25.110.25.1Patch availableGHSA-6q5m-63h6-5x4v
  • liquidjs Vendorharttle Affected before 10.25.1 Fixed in 10.25.1 Patch available CNA
  • liquidjs (npm) Vendor— Affected before 10.25.1 Fixed in 10.25.1 Patch available GHSA-6q5m-63h6-5x4v

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:liquidjs:liquidjs:*:*:*:*:*:node.js:*:*before 10.25.1Vulnerableharttle
  • cpe:2.3:a:liquidjs:liquidjs:*:*:*:*:*:node.js:*:* Versions before 10.25.1 Vulnerable ·harttle

Remediation

  • Fix · CNA liquidjs (harttle) Fixed in 10.25.1
  • Fix · GHSA-6q5m-63h6-5x4v liquidjs (npm) Fixed in 10.25.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-33287
  2. 2026-10-03 Alias added: GHSA-6q5m-63h6-5x4v
  3. 2026-10-29 Fix available: npm/[email protected] · GHSA-6q5m-63h6-5x4v
  4. 2026-10-29 2 new references · GHSA-6q5m-63h6-5x4v

References

  • TI-2026-29912 LiquidJS is vulnerable to Denial of Service via circular block reference in layout CVSS 3.1HIGH 7.5
  • TI-2026-28394 Information disclosure in harttle liquidjs CVSS 3.1HIGH 7.5
  • TI-2026-25696 LiquidJS: memoryLimit Bypass through Negative Range Values Leads to Process Crash CVSS 3.1HIGH 7.5
  • TI-2026-27640 LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates CVSS 4.0HIGH 8.2
  • TI-2022-09484 Information exposure in liquidjs CVSS 3.1MEDIUM 5.3
  • TI-2026-26466 LiquidJS has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter CVSS 3.1MEDIUM 5.3
See all 8 →

Sources