p PatchFirst

CVE-2026-61556

CVE-2026-61556 · LiquidJS: An infinite loop vulnerability in `strip_html` filter

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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.

CVSS 8.7 · Élevée · EPSS 0,5% · Correctif disponible

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • liquidjs

    Versions du logiciel
    • >= 10.26.0, < 10.27.1: Concernée

    Aucun correctif publié

  • liquidjs npm

    Plages de versions concernées
    • SEMVER: ≥ 10.26.0, < 10.27.1

    Mettez à jour vers 10.27.1

Sources originales

Vérifiez votre serveur →