{"id":"CVE-2026-61556","published":"2026-08-19T20:49:56Z","modified":"2026-08-25T14:16:38Z","title":"LiquidJS: An infinite loop vulnerability in `strip_html` filter","vendor":"harttle","product":"liquidjs","tier":"tail","description":{"text":"LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. From 10.26.0 until 10.27.1, the strip_html filter in src/filters/html.ts can enter an infinite loop when an input string contains <, includes at least one preceding character, and has no later >. In strip_html, the search for the next opener advances lt while the loop index remains unchanged when the closer search returns -1, and the equality-only stall guard does not exit because the loop index is less than lt. Reprocessing the same state indefinitely blocks template rendering and can cause denial of service with an input as short as a<. This issue is fixed in version 10.27.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.4534,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-m7fp-h3p4-hr49","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/harttle/liquidjs/pull/917","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/commit/5c3522f33928aae66f0fe85c36e1d9015c768fe2","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/releases/tag/v10.27.1","tags":["x_refsource_MISC"]}],"priority":{"score":15.2,"factors":[{"name":"EPSS percentile","points":9.07},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"harttle","affectedVersions":[{"vendor":"harttle","product":"liquidjs","versions":[">= 10.26.0, < 10.27.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-25T14:15:16.964283Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"liquidjs","vulnerableRanges":[">=10.26.0, <10.27.1"],"patched":["10.27.1"],"from":["GHSA-m7fp-h3p4-hr49"],"provenance":"source"}],"summary":{"text":"The strip_html filter in LiquidJS, a pure JavaScript template engine, can enter an infinite loop when processing a string that contains a \"<\" with at least one character before it and no following \">\". An attacker who can supply input to a template rendered through this filter, with no authentication or user interaction required and no special configuration, can block template rendering and cause a denial of service using an input as short as \"a<\".","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:52Z"},"euvd":{"id":"EUVD-2026-63089","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-45617","published":"2026-06-17","fixed":"10.26.0","kev":false},{"cve":"CVE-2026-45618","published":"2026-08-11","fixed":"10.26.0","kev":false},{"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},{"cve":"CVE-2026-106120","published":"2026-10-06","fixed":"10.27.2","kev":false,"link":{"from":"CVE-2026-61556","to":"CVE-2026-106120","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:liquidjs","fromFixed":"10.27.1","toFixed":"10.27.2","daysApart":48}]}},{"cve":"CVE-2026-69222","published":"2026-08-19","fixed":"10.27.2","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}]}}],"package":"npm:liquidjs"}}