CVE-2026-69222: LiquidJS Uncontrolled Resource Consumption in `join` Filter

liquidjs Updated 09 Sep 2026

Summary

08/09/2026
Yes i
High
7.5

CVE-2026-69222: The join filter (src/filters/array.ts:8-13) charges memoryLimit by array element count, not by the string length it produces, letting a template bypass a configured memoryLimit and allocate strings far past budget — boun... Affects liquidjs versions < 10.27.2. Fixed in 10.27.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

LiquidJS is a powerful templating engine for JavaScript that allows developers to create dynamic web pages by embedding logic within templates. It is widely used for rendering templates in various applications. LiquidJS provides features like filters, tags, and safe HTML rendering, making it a popular choice for developers. However, it is susceptible to a vulnerability that allows attackers to bypass memory limits, leading to potential denial-of-service (DoS) attacks.

Vulnerability Detail

The vulnerability in LiquidJS arises from the join filter, which calculates memory usage based on the number of array elements rather than the actual string length produced. This miscalculation allows templates to allocate memory far beyond the configured memoryLimit, potentially leading to process crashes. The flaw is rooted in the implementation of the join function, which does not accurately reflect the memory consumption of the strings it generates. As a result, an attacker can craft a template that exploits this oversight, causing excessive memory allocation and ultimately crashing the application.

How To Fix

Latest published version: 10.30.0 as of 22 Oct 2026

npm install liquidjs@10.30.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

10.27.2

This is the first release that contains the fix.

npm install liquidjs@10.27.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can limit the complexity of templates by avoiding the use of the join filter with large arrays or by implementing additional checks in your application to monitor memory usage. However, the best solution is to update to the patched version.

Conclusion

The vulnerability CVE-2026-69222 in LiquidJS poses a significant risk by allowing attackers to exploit the join filter, leading to uncontrolled resource consumption. It is crucial for developers using LiquidJS to update to the latest version to ensure their applications remain secure. Additionally, utilizing tools like Vulert can help monitor for vulnerabilities in real-time.

See every vulnerability recorded for liquidjs →

Share this vulnerability

FAQ

The vulnerability allows attackers to bypass memory limits set in LiquidJS, leading to uncontrolled resource consumption and potential application crashes.

If your application uses LiquidJS versions 10.27.1 or earlier and employs the join filter in templates, it may be affected. You can check your application using Vulert's playground at Vulert Scanner.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

While the primary risk is denial-of-service, excessive memory allocation could lead to application crashes, potentially resulting in temporary data loss if not handled properly.

If an immediate update is not possible, consider implementing strict input validation and monitoring memory usage to mitigate the risk until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for liquidjs.

How To Fix

Latest published version: 10.30.0 as of 22 Oct 2026

npm install liquidjs@10.30.0

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

10.27.2

This is the first release that contains the fix.

npm install liquidjs@10.27.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback