> CVE-2026-45617 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-06-17 23:17
MODIFIED
2026-06-18 17:16
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.46%
Top 60.3%
DATA SOURCES:
NVD đź”— 2026-06-18 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> 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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EXPLOITABILITY
3.9
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
High (H)
Interruption totale du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
High
Interruption totale du service possible

> WEAKNESSES

CWE-1333

> CWE DETAILED DESCRIPTIONS

CWE-1333: Inefficient Regular Expression Complexity - The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

> GITHUB SECURITY ADVISORY

GHSA-r7g9-xpmj-5fcq HIGH

LiquidJS Vulnerable to ReDoS via Quadratic Backtracking in `strip_html` Filter Regex

AFFECTED PACKAGES:
NPM / liquidjs
< 10.26.0
Fixed in: 10.26.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

LiquidJS: ReDoS via Quadratic Backtracking in `strip_html` Filter Regex

AFFECTED PACKAGES:
Unknown / Unknown
252 versions affected
ALIASES:
GHSA-r7g9-xpmj-5fcq

> HISTORIQUE DES MODIFICATIONS

Première apparition
17/06/2026 23:17
Source: NVD
📊 ENRICHISSEMENT 01/07/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-1333: Inefficient Regular Expression Complexity - The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Total des modifications: 1 Dernière mise à jour: 4 months ago

> REFERENCES

https://github.com/harttle/liquidjs/commit/3616a744b9abeb425c217b340a2397d46176a...
https://github.com/harttle/liquidjs/releases/tag/v10.26.0
https://github.com/harttle/liquidjs/security/advisories/GHSA-r7g9-xpmj-5fcq
https://github.com/harttle/liquidjs/security/advisories/GHSA-r7g9-xpmj-5fcq
« BACK_TO_HOME