LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| harttle | liquidjs | before 10.25.1 | 10.25.1 | Patch available | CNA |
| — | liquidjs (npm) | before 10.25.1 | 10.25.1 | Patch available | GHSA-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
Remediation
- Fix · CNA liquidjs (harttle) Fixed in 10.25.1
- Fix · GHSA-6q5m-63h6-5x4v liquidjs (npm) Fixed in 10.25.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33287
- 2026-10-03 Alias added: GHSA-6q5m-63h6-5x4v
- 2026-10-29 Fix available: npm/[email protected] · GHSA-6q5m-63h6-5x4v
- 2026-10-29 2 new references · GHSA-6q5m-63h6-5x4v
References
More harttle Liquidjs vulnerabilities
- 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
Sources
- CVE-2026-33287 · CVE Program
- CVE-2026-33287 · NVD
- FIRST EPSS
- GHSA-6q5m-63h6-5x4v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences