Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. liquidjs
  4. ›
  5. CVE-2026-44645

CVE-2026-44645: LiquidJS has a renderLimit DoS guard bypass via empty `{% for %}` body

May 27, 2026 (updated October 27, 2026)

The renderLimit option — documented in docs/source/tutorials/dos.md as the mechanism that “mitigates this by limiting the time consumed by each render() call” — can be fully bypassed by a {% for %} (or {% tablerow %}) tag whose body is empty. The per-iteration time check is reached only when the body contains at least one template node, so a template like {%- 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.

References

  • github.com/advisories/GHSA-8xx9-69p8-7jp3
  • github.com/harttle/liquidjs/blob/v10.26.0/CHANGELOG.md
  • github.com/harttle/liquidjs/commit/5b9c3469085e01c79e2d0af28e2a13f730e1793d
  • github.com/harttle/liquidjs/releases/tag/v10.26.0
  • github.com/harttle/liquidjs/security/advisories/GHSA-8xx9-69p8-7jp3
  • nvd.nist.gov/vuln/detail/CVE-2026-44645

Code Behaviors & Features

Detect and mitigate CVE-2026-44645 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 10.26.0

Fixed versions

  • 10.26.0

Solution

Upgrade to version 10.26.0 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

npm/liquidjs/CVE-2026-44645.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:54 +0000.