Vulnerability

CVE-2026-61556

highCVSS 4.0 8.7Published 19 Aug 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /harttle/liquidjs/commit/5c3522f33928aae66f0fe85c36e1d9015c…
  • github.com /harttle/liquidjs/pull/917
  • github.com /harttle/liquidjs/releases/tag/v10.27.1
  • github.com /harttle/liquidjs/security/advisories/GHSA-m7fp-h3p4-hr49

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning