CVE-2026-45618

LiquidJS is Vulnerable to Remote Code Execution

Published Aug 11, 2026 CVSS 3.1 · 10 Critical EPSS < 1% KEV · Not listed
Description
LiquidJS is a Shopify/GitHub Pages compatible template engine. Prior to version 10.26.0, it is possible to execute arbitrary code with crafted templates. Version 10.26.0 patches the issue.

Analysis

AI-generated

Technical impact

The vulnerability permits an attacker to run arbitrary code whenever a malicious template is processed by LiquidJS. The engine lacks proper sanitisation of template expressions, allowing injected JavaScript code to be evaluated during rendering. This flaw is a classic code injection weakness (CWE‑94) and can lead to a full compromise of the application where the templating engine is deployed.

Affected Systems

The flaw is present in every release of the LiquidJS library distributed by harttle prior to version 10.26.0. Any project that incorporates these versions – for example, Node.js back‑ends that render templates for Shopify or GitHub Pages – is exposed. Applications that use older versions of LiquidJS for templating should be reviewed for additional risk.

Risk and Exploitability

The CVSS score of 10 indicates the highest level of severity, while the EPSS score of less than 1% suggests that, as of now, the exploitation rate is very low. Nevertheless, the vulnerability is not listed in CISA's KEV catalog, meaning no confirmed exploitation has been reported. Because the flaw is triggered by user‑supplied templates, the attack vector is likely remote. Once a malicious template is supplied, arbitrary JavaScript execution occurs, giving attackers full control over the host process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the LiquidJS library to version 10.26.0 or later.
  • Ensure that only trusted, static templates are processed or that any dynamic template input is sanitized before rendering.
  • If an immediate upgrade is not possible, separate the LiquidJS rendering process into an isolated environment or sandbox to limit potential damage.
  • Monitor application logs for unexpected template rendering errors or execution patterns that may indicate an attempted exploitation.

Generated by OpenCVE AI on August 12, 2026 at 20:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gf2q-c269-pqgc LiquidJS is Vulnerable to Remote Code Execution
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Harttle
Harttle liquidjs
Vendors & Products Harttle
Harttle liquidjs
Type Values Removed Values Added
Description LiquidJS is a Shopify/GitHub Pages compatible template engine. Prior to version 10.26.0, it is possible to execute arbitrary code with crafted templates. Version 10.26.0 patches the issue.
Title LiquidJS is Vulnerable to Remote Code Execution
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2026, 2:07 PM
Reserved
May 12, 2026, 8:31 PM
Status
Deferred
Published
Aug 11, 2026, 8:17 PM
Modified
Oct 24, 2026, 4:10 PM