Read the docs
TI-2026-26466 Aliases CVE-2026-34166GHSA-mmg9-6m6j-jqqx

LiquidJS has a Memory Limit Bypass via Quadratic Amplification in `replace` Filter

Priority MEDIUM 57CWE-400Published · 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 · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. 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 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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00514 44th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed liquidjs (harttle): 10.25.3liquidjs (npm): 10.25.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
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.310.25.3Patch availableCNA
—liquidjs (npm)before 10.25.310.25.3Patch availableGHSA-mmg9-6m6j-jqqx
  • liquidjs Vendorharttle Affected before 10.25.3 Fixed in 10.25.3 Patch available CNA
  • liquidjs (npm) Vendor— Affected before 10.25.3 Fixed in 10.25.3 Patch available GHSA-mmg9-6m6j-jqqx

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA liquidjs (harttle) Fixed in 10.25.3
  • Fix · GHSA-mmg9-6m6j-jqqx liquidjs (npm) Fixed in 10.25.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-34166
  2. 2026-10-03 Alias added: GHSA-mmg9-6m6j-jqqx

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-25698 LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern 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
See all 8 →

Sources