CVE-2026-33287
LiquidJS is a Shopify / GitHub Pages compatible template engine in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/harttle/liquidjs/security/advisories/GHSA-6q5m-63h6-5x4v
- github.com/harttle/liquidjs/commit/35d523026345d80458df24c72e653db78b5d061d
- github.com/advisories/GHSA-6q5m-63h6-5x4v
- nvd.nist.gov/vuln/detail/CVE-2026-33287
- github.com/harttle/liquidjs/blob/v10.25.1/CHANGELOG.md
- github.com/harttle/liquidjs/releases/tag/v10.25.1
- nvd.nist.gov/vuln/detail/CVE-2026-33287
- cve.org/CVERecord?id=CVE-2026-33287
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.