7.5
HIGH CVSS 3.1
CVE-2026-45617
LiquidJS: ReDoS via Quadratic Backtracking in `strip_html` Filter Regex
Description

LiquidJS is a Shopify/GitHub Pages compatible template engine written in pure JavaScript. In versions 10.25.7 and below, the built-in strip_html filter uses a regex containing four flawed lazy-quantified alternatives, leading to ReDoS via quadratic backtracking. When the input contains many <script, <style, or <!-- opener tokens without matching closers, the V8 regex engine performs O(N²) backtracking, blocking the Node.js event loop. A single ~350 KB request ('<script'.repeat(50000)) stalls the process for ~10 seconds; cost grows quadratically with input size. The default memoryLimit: Infinity does not bound regex CPU, and even when configured strip_html only charges str.length to the limit — the regex itself runs unbounded. A single unauthenticated request containing crafted untrusted input can cause severe event-loop blocking and CPU amplification that saturates Node.js workers while bypassing memoryLimit protections. This issue has been fixed in version 10.26.0.

INFO

Published Date :

June 17, 2026, 11:17 p.m.

Last Modified :

Oct. 25, 2026, 11:10 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-45617 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Liquidjs liquidjs
1 Harttle liquidjs
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH [email protected]
Solution
Update LiquidJS to version 10.26.0 or later to fix ReDoS vulnerability.
  • Update LiquidJS to version 10.26.0 or later.
  • Avoid processing untrusted HTML input with strip_html filter.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-45617 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-45617 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-45617 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-45617 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Oct. 25, 2026

    Action Type Old Value New Value
    Added Translation Title: liquidjs de harttle, Description: LiquidJS es un motor de plantillas compatible con Shopify/GitHub Pages escrito en JavaScript puro. En las versiones 10.25.7 e inferiores, el filtro incorporado strip_html utiliza una expresión regular (regex) que contiene cuatro alternativas cuantificadas perezosamente defectuosas, lo que lleva a ReDoS a través de retroceso cuadrático. Cuando la entrada contiene muchos tokens de apertura <script, <style o [comment] sin sus cierres correspondientes, el motor de expresiones regulares V8 realiza un retroceso O(N²), bloqueando el bucle de eventos de Node.js. Una única solicitud de ~350 KB (’<script’.repeat(50000)) detiene el proceso durante ~10 segundos; el costo crece cuadráticamente con el tamaño de la entrada. El memoryLimit: Infinity predeterminado no limita la CPU de la expresión regular, e incluso cuando está configurado, strip_html solo carga str.length al límite - la expresión regular en sí se ejecuta sin límites. Una única solicitud no autenticada que contenga una entrada no confiable manipulada puede causar un bloqueo severo del bucle de eventos y una amplificación de la CPU que satura los trabajadores de Node.js mientras elude las protecciones de memoryLimit. Este problema ha sido solucionado en la versión 10.26.0.
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Jun. 18, 2026

    Action Type Old Value New Value
    Added Reference https://github.com/harttle/liquidjs/security/advisories/GHSA-r7g9-xpmj-5fcq
    Added SSVC {'id': 'CVE-2026-45617', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-18T15:46:01.767622Z'}
  • New CVE Received by [email protected]

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'harttle', 'product': 'liquidjs', 'versions': [{'status': 'affected', 'version': '< 10.26.0'}]}]
    Added Description LiquidJS is a Shopify/GitHub Pages compatible template engine written in pure JavaScript. In versions 10.25.7 and below, the built-in strip_html filter uses a regex containing four flawed lazy-quantified alternatives, leading to ReDoS via quadratic backtracking. When the input contains many <script, <style, or <!-- opener tokens without matching closers, the V8 regex engine performs O(N²) backtracking, blocking the Node.js event loop. A single ~350 KB request ('<script'.repeat(50000)) stalls the process for ~10 seconds; cost grows quadratically with input size. The default memoryLimit: Infinity does not bound regex CPU, and even when configured strip_html only charges str.length to the limit — the regex itself runs unbounded. A single unauthenticated request containing crafted untrusted input can cause severe event-loop blocking and CPU amplification that saturates Node.js workers while bypassing memoryLimit protections. This issue has been fixed in version 10.26.0.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Added CWE CWE-1333
    Added Reference https://github.com/harttle/liquidjs/commit/3616a744b9abeb425c217b340a2397d46176afb8
    Added Reference https://github.com/harttle/liquidjs/releases/tag/v10.26.0
    Added Reference https://github.com/harttle/liquidjs/security/advisories/GHSA-r7g9-xpmj-5fcq
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.