CVE-2026-33287
published high CVSS 3.1 · 7.5LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| harttle | — | liquidjs< 10.25.1 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| harttle | liquidjs | < 10.25.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-20 CWE-20: Improper Input Validation
- CWE-400 CWE-400: Uncontrolled Resource Consumption
References
2Provider assertions
2GitHub_M · cna
LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6fde6830469ea443cd00826715c7f241bff067a7cf0e06d0d5ccde831d1352b3
- Ingested
- 23 Sep 2026, 09:10:36 UTC
- Source record
- Official CVE record