{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-33287","id":"CVE-2026-33287","title":"LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern","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 ","descriptionLong":"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.","published":"2026-03-26T00:33:20.024Z","updated":"2026-10-28T02:30:20.610800795Z","reserved":"2026-03-18T18:55:47.426Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["harttle liquidjs"],"affectedProducts":[{"vendor":"harttle","product":"liquidjs","defaultStatus":null,"versions":[{"version":"< 10.25.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"liquidjs","purl":"pkg:npm/liquidjs","ranges":["<10.25.1"],"fixed":["10.25.1"],"advisory":"GHSA-6q5m-63h6-5x4v"}],"cwes":["CWE-20","CWE-400"],"aliases":["GHSA-6q5m-63h6-5x4v"],"references":[{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-6q5m-63h6-5x4v","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/harttle/liquidjs/commit/35d523026345d80458df24c72e653db78b5d061d","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33287.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33287","tags":["advisory"]},{"url":"https://github.com/harttle/liquidjs","tags":["package"]},{"url":"https://github.com/harttle/liquidjs/blob/v10.25.1/CHANGELOG.md","tags":["web"]},{"url":"https://github.com/harttle/liquidjs/releases/tag/v10.25.1","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.0049,"epssPercentile":0.42899,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-33287","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33287","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-33287","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6q5m-63h6-5x4v","ok":true,"note":"GHSA-6q5m-63h6-5x4v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-33287","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}