CVE-2026-41311
MEDIUM 6.5CVSS 3.1liquidjs has a Denial of Service via circular block reference in layout
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to version 10.25.7, a circular block reference in {% layout %} / {% block %} causes an infinite recursive loop, consuming all available memory (~4GB) and crashing the Node.js process with FATAL ERROR: JavaScript heap out of memory. This allows any user who can submit a Liquid template to perform a Denial of Service attack. This issue has been patched in version 10.25.7.
- Published
- 9 May 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-4rc3-7j7w-m548
- Sources
- NVDJSONOSV GHSA-4rc3-7j7w-m548JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | liquidjs | liquidjscpe:2.3:a:liquidjs:liquidjs:*:*:*:*:*:node.js:*:* |
< 10.25.7 | 10.25.7 |
| OSV | npm | liquidjs | < 10.25.7 | 10.25.7 |
References
- https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0 · Patch, WEB
- https://github.com/harttle/liquidjs/releases/tag/v10.25.7 · Product, Release Notes, WEB
- https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-41311 · ADVISORY
- https://github.com/harttle/liquidjs · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 May 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 24 Apr 2026)