CVE-2026-61556 json
LiquidJS: An infinite loop vulnerability in `strip_html` filter
published 2026-08-19 2 mo ago modified 2026-09-09 1 mo ago also GHSA-m7fp-h3p4-hr49 , EUVD-2026-63089
- cvss
- 8.7
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm liquidjs 10.27.1
- github.com/harttle/liquidjs@5c3522f commit
- github.com/harttle/liquidjs#917 pull request
- github.com/harttle/liquidjs/releases/tag/v10.27.1 release
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 mo ago
Exploit prediction
0.52% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/harttle/liquidjs/security/advisories/GHSA-m7fp-h3p4-hr49 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.7 | 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 |
| CNA | 4.0 | 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | liquidjs | >=10.26.0, <10.27.1 |
10.27.1 |
Affected products
- harttle liquidjs
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
References
-
github.com
/harttle/liquidjs/pull/917
web
-
github.com
/harttle/liquidjs/commit/5c3522f33928aae66f0fe85c36e1d9015c768fe2
web
-
github.com
/harttle/liquidjs/security/advisories/GHSA-m7fp-h3p4-hr49
exploit, web
-
github.com
/harttle/liquidjs/releases/tag/v10.27.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-61556
advisory
-
github.com
/harttle/liquidjs
package
Sources
- CVE List CVE-2026-61556
- GitHub Advisory GHSA-m7fp-h3p4-hr49
- NVD CVE-2026-61556
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.