CVE-2026-69222
High · 7.5CVSS
7.5
EPSS
0.6%
Published
Aug 19, 2026
CISA due date
—
Cloudanix analysis
A flaw in a template engine used by many websites and build tools lets attackers crash the service by feeding it specially crafted page layouts that use far more memory than intended.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The join filter (and sibling array_to_sentence_string) in LiquidJS miscalculates complexity using only array length and separator size rather than the final materialized string length; combined with cheap reference duplication via concat, a template can force allocation far beyond a configured memoryLimit, exhausting V8 string or process memory and crashing the process.
Why it matters to the business
Applications relying on LiquidJS for template rendering can be crashed via crafted input, producing denial of service that interrupts page generation, API responses, or build pipelines until the process is restarted.
How an attack unfolds
An attacker supplies a template containing a concat operation that cheaply duplicates an array of object references followed by a join (or array_to_sentence_string) that materializes the full concatenated content; because complexity accounting only counts elements rather than bytes produced, the operation bypasses the memoryLimit guard and drives allocation toward V8 or OS limits, terminating the renderer.
How to fix it
Upgrade LiquidJS to version 10.27.2 or newer; the corrected filters now compute complexity from the actual string length produced by join.
How to confirm the fix worked
Confirm the installed package version is at least 10.27.2; re-test previously crashing templates under the same memoryLimit setting to verify they are now rejected before allocation exceeds the cap.
Typical attack path
- Submit a malicious template to any endpoint or build step that invokes LiquidJS rendering
- Use concat inside the template to create a large array of references with minimal cost
- Apply join or array_to_sentence_string to force materialization of the expanded content
- Trigger repeated evaluation or large input sizes to exceed the mis-accounted memoryLimit
- Observe process termination or out-of-memory crash
How to detect it
Review application and process logs for LiquidJS renderers that terminate with out-of-memory errors or exceed expected memory usage during template evaluation; correlate spikes with incoming template content or user-supplied layouts.
What your security team should do
- Immediately upgrade all LiquidJS installations to 10.27.2 or later
- Add dependency scanning to block future versions prior to 10.27.2
- Monitor template-rendering worker processes for sudden memory spikes or OOM kills
- Consider temporarily lowering memoryLimit values as a defense-in-depth measure until upgrades complete
The record
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.27.2, the join filter in src/filters/array.ts computes complexity from array.length and separator length instead of the total string length produced by array.join(sep). The concat filter can cheaply double arrays of references, after which join materializes the referenced content while charging only for element count, allowing a template to exceed a configured memoryLimit by a large factor. The sibling array_to_sentence_string filter in src/filters/string.ts has the same accounting defect, and a crafted template can allocate toward V8's string or process memory limit and crash the process. This issue is fixed in version 10.27.2.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-116668 Tanium addressed an uncontrolled resource consumption vulnerability in Discover. CWE-400
- CVE-2026-111751 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-111752 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-63476 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-400
- CVE-2026-121444 svg-sanitizer from 0.11.0 before 1.1.0 contains an algorithmic complexity denial of… CWE-400
- CVE-2026-121438 Mistune before 3.3.3 contains a denial of service vulnerability in… CWE-400
- CVE-2026-121404 FreeRDP before 3.32.2 contains a denial of service vulnerability in the shadow server… CWE-400
- CVE-2026-49924 In ShortcutInfo of ShortcutInfo.java, there is a possible way to crash the launcher via… CWE-400