Live threats

All CVEs / Liquidjs

CVE-2026-33287Liquidjs

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 26, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20, CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

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.1 10.25.1 npm install liquidjs@10.25.1

Per OSV / GitHub Advisories (GHSA-6q5m-63h6-5x4v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
liquidjsliquidjs< 10.25.1

Official sources

References

Links published by the sources. Open them with care.