{"id":"CVE-2026-69222","published":"2026-08-19T20:51:44Z","modified":"2026-08-21T21:47:58Z","title":"LiquidJS: Uncontrolled Resource Consumption in `join` filter allows template authors to bypass `memoryLimit` and crash…","vendor":"harttle","product":"liquidjs","tier":"tail","description":{"text":"LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.2, the join filter in src/filters/array.ts computes complexity from array.length and separator length instead of the total string length produced by array.join(sep). The concat filter can cheaply double arrays of references, after which join materializes the referenced content while charging only for element count, allowing a template to exceed a configured memoryLimit by a large factor. The sibling array_to_sentence_string filter in src/filters/string.ts has the same accounting defect, and a crafted template can allocate toward V8's string or process memory limit and crash the process. This issue is fixed in version 10.27.2.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.51116,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-4r6h-5v86-94p3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/harttle/liquidjs/pull/925","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/commit/7ab49f999ac045ec1e87f3a7a9fd68dd9e8602b3","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/releases/tag/v10.27.2","tags":["x_refsource_MISC"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":10.22},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"harttle","affectedVersions":[{"vendor":"harttle","product":"liquidjs","versions":["< 10.27.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-21T21:09:40.779684Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"liquidjs","vulnerableRanges":["<10.27.2"],"patched":["10.27.2"],"from":["GHSA-4r6h-5v86-94p3"],"provenance":"source"}],"summary":{"text":"The join filter in LiquidJS, a pure JavaScript template engine, miscalculates resource cost by counting array elements and separator length rather than the length of the resulting string, and the sibling array_to_sentence_string filter has the same defect. An attacker who can supply a template to the engine over the network, without authentication or user interaction, can use concat to double arrays and then join to build output far beyond the configured memoryLimit, potentially exhausting memory and crashing the process.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:54Z"},"euvd":{"id":"EUVD-2026-63090","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-harttle-liquidjs-cve-2022-25948","parents":[{"from":"CVE-2026-33287","to":"CVE-2026-69222","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filters/string.ts"],"commits":["https://github.com/harttle/liquidjs/commit/35d523026345d80458df24c72e653db78b5d061d","https://github.com/harttle/liquidjs/commit/7ab49f999ac045ec1e87f3a7a9fd68dd9e8602b3"],"basis":"rarely changed file"}]},{"from":"CVE-2026-34166","to":"CVE-2026-69222","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filters/string.ts"],"commits":["https://github.com/harttle/liquidjs/commit/abc058be0f33d6372cd2216f4945183167abeb25","https://github.com/harttle/liquidjs/commit/7ab49f999ac045ec1e87f3a7a9fd68dd9e8602b3"],"basis":"rarely changed file"}]},{"from":"CVE-2026-39412","to":"CVE-2026-69222","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filters/array.ts"],"commits":["https://github.com/harttle/liquidjs/commit/e743da0020d34e2ee547e1cc1a86b58377ebe1ce","https://github.com/harttle/liquidjs/commit/7ab49f999ac045ec1e87f3a7a9fd68dd9e8602b3"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-69222","to":"CVE-2026-106120","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/filters/array.ts"],"commits":["https://github.com/harttle/liquidjs/commit/552819a84b80c62306fe61072628a756272dc749","https://github.com/harttle/liquidjs/commit/7ab49f999ac045ec1e87f3a7a9fd68dd9e8602b3"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-55575","published":"2026-07-08","fixed":"10.27.1","kev":false},{"cve":"CVE-2026-61556","published":"2026-08-19","fixed":"10.27.1","kev":false,"link":{"from":"CVE-2026-61556","to":"CVE-2026-69222","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:liquidjs","fromFixed":"10.27.1","toFixed":"10.27.2","daysApart":0}]}},{"cve":"CVE-2026-106120","published":"2026-10-06","fixed":"10.27.2","kev":false},{"cve":"CVE-2026-69222","published":"2026-08-19","fixed":"10.27.2","kev":false}],"package":"npm:liquidjs"}}