p PatchFirst

CVE-2026-33287

CVE-2026-33287 · LiquidJS has Exponential Memory Amplification through its replace_first Filter $& Pattern

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. Prior to version 10.25.1, the `replace_first` filter in LiquidJS uses JavaScript's `String.prototype.replace()` which interprets `$&` as a back reference to the matched substring. The filter only charges `memoryLimit` for the input string length, not the amplified output. An attacker can achieve exponential memory amplification (up to 625,000:1) while staying within the `memoryLimit` budget, leading to denial of service. Version 10.25.1 patches the issue.

CVSS 7.5 · Élevée · EPSS 0,5%

Publication
Mise à jour

Pile logicielle: node

Produits et versions concernés

  • liquidjs

    Versions du logiciel
    • < 10.25.1: Concernée

    Aucun correctif publié

  • liquidjs npm

    Plages de versions concernées
    • SEMVER: ≤ 10.24.0

    Aucun correctif publié

Sources originales

Vérifiez votre serveur →