CVE-2026-41311 json
LiquidJS is vulnerable to Denial of Service via circular block reference in layout
published 6mo ago modified last mo. also EUVD-2026-28886 , GHSA-4rc3-7j7w-m548
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm liquidjs 10.25.7
- liquidjs liquidjs 10.25.7
Is CVE-2026-41311 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 5mo ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | liquidjs | <10.25.7 |
10.25.7 |
Affected products
- harttle liquidjs
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0
web, patch
-
github.com
/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548
exploit, web, vendor-advisory
-
github.com
/harttle/liquidjs/releases/tag/v10.25.7
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-41311
advisory
-
github.com
/harttle/liquidjs
package
Sources
- CVE List CVE-2026-41311
- GitHub Advisory GHSA-4rc3-7j7w-m548
- NVD CVE-2026-41311
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.