{"id":"CVE-2026-41311","state":"PUBLISHED","title":"LiquidJS is vulnerable to Denial of Service via circular block reference in layout","description":"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.","publishedAt":"2026-05-09T04:03:25.488Z","updatedAt":"2026-05-11T15:04:09.635Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["harttle liquidjs"],"affected":[{"vendor":"harttle","product":"liquidjs","versions":[{"version":"< 10.25.7","status":"affected"}]}],"references":["https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548","https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0","https://github.com/harttle/liquidjs/releases/tag/v10.25.7"],"weaknesses":["CWE-674"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/41xxx/CVE-2026-41311.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-41311","state":"PUBLISHED","datePublished":"2026-05-09T04:03:25.488Z","dateUpdated":"2026-05-11T15:04:09.635Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-20T14:01:46.671Z"},"containers":{"cna":{"title":"LiquidJS is vulnerable to Denial of Service via circular block reference in layout","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"harttle","product":"liquidjs","versions":[{"version":"< 10.25.7","status":"affected"}]}],"references":[{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548","name":"https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0","name":"https://github.com/harttle/liquidjs/commit/e2311dfd6e82f73509308aa8a3a1fafc92e226f0","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/releases/tag/v10.25.7","name":"https://github.com/harttle/liquidjs/releases/tag/v10.25.7","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-674","lang":"en","description":"CWE-674: Uncontrolled Recursion","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-05-09T04:03:25.488Z"},"source":{"advisory":"GHSA-4rc3-7j7w-m548","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-4rc3-7j7w-m548","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-05-11T15:04:05.394344Z","id":"CVE-2026-41311","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-11T15:04:09.635Z"}}]}}}