{
  "id": "CVE-2026-33287",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33287",
  "published_at": "2026-03-26T00:33:20.024Z",
  "title": "LiquidJS has Exponential Memory Amplification through its replace_first Filter $\u0026 Pattern",
  "vendor": "harttle",
  "product": "liquidjs",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 `$\u0026` 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.",
  "cwe": "CWE-20",
  "cpes": [
    "cpe:2.3:a:liquidjs:liquidjs:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "harttle",
        "product": "liquidjs",
        "ranges": [
          "\u003c 10.25.1"
        ],
        "fixed_in": [
          "10.25.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade liquidjs to 10.25.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/harttle/liquidjs/security/advisories/GHSA-6q5m-63h6-5x4v"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/harttle/liquidjs/commit/35d523026345d80458df24c72e653db78b5d061d"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
