๐Ÿ” CVE Alert

CVE-2026-44645

MEDIUM 6.5

LiquidJS has a renderLimit DoS guard bypass via empty `{% for %}` body

CVSS Score
6.5
EPSS Score
0.0%
EPSS Percentile
0th

LiquidJS is a Shopify/GitHub Pages compatible template engine written in pure JavaScript. In versions 10.25.7 and below, the renderLimit option can be fully bypassed by a {% for %} (or {% tablerow %}) tag whose body is empty. The renderLimit option is documented in docs/source/tutorials/dos.md as the mechanism that "mitigates this by limiting the time consumed by each render() call." The per-iteration time check is reached only when the body contains at least one template node, so a template such as {%- for i in (1..N) -%}{%- endfor -%} iterates the full collection without ever consulting renderLimit. With a configured renderLimit of 50 ms, a single parseAndRenderSync call has been observed to consume 2.26 seconds (~45ร— over the limit) and scales linearly with N up to memoryLimit, allowing a low-privileged template author to wedge an event-loop thread for an attacker-chosen duration. Deployments that rely on a finite renderLimit for DoS protection (common in multi-tenant template-authoring environments) can still be forced by a single crafted template to monopolize a Node.js event-loop worker for attacker-controlled time, potentially stalling in-flight requests, with availability impact only. This issue has been fixed in version 10.26.0.

CWE CWE-400
Vendor harttle
Product liquidjs
Published Jun 17, 2026
Stay Ahead of the Next One

Get instant alerts for harttle liquidjs

Be the first to know when new medium vulnerabilities affecting harttle liquidjs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

harttle / liquidjs
< 10.26.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/harttle/liquidjs/security/advisories/GHSA-8xx9-69p8-7jp3 github.com: https://github.com/harttle/liquidjs/commit/5b9c3469085e01c79e2d0af28e2a13f730e1793d github.com: https://github.com/harttle/liquidjs/releases/tag/v10.26.0