Live threats

All CVEs / Liquidjs

CVE-2026-34166Liquidjs

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Apr 8, 2026
Updated
Jul 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, the replace filter in LiquidJS incorrectly accounts for memory usage when the memoryLimit option is enabled. It charges str.length + pattern.length + replacement.length bytes to the memory limiter, but the actual output from str.split(pattern).join(replacement) can be quadratically larger when the pattern occurs many times in the input string. This allows an attacker who controls template content to bypass the memoryLimit DoS protection with approximately 2,500x amplification, potentially causing out-of-memory conditions. This vulnerability is fixed in 10.25.3.

Original NVD text.

What to do

  1. Apply the vendor's security update for Liquidjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm liquidjs < 10.25.3 10.25.3 npm install liquidjs@10.25.3

Per OSV / GitHub Advisories (GHSA-mmg9-6m6j-jqqx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
liquidjsliquidjs< 10.25.3

Official sources

References

Links published by the sources. Open them with care.