What’s Vulnerable › Vulnerabilities

CVE-2026-30952: liquidjs has a path traversal fallback vulnerability

Description

liquidjs is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.0, the layout, render, and include tags allow arbitrary file access via absolute paths (either as string literals or through Liquid variables, the latter require dynamicPartials: true, which is the default). This poses a security risk when malicious users are allowed to control the template content or specify the filepath to be included as a Liquid variable. This vulnerability is fixed in 10.25.0.

Affected products

How to fix

Upgrade to a fixed version: harttle liquidjs 10.25.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-30952 or the next vulnerability affects your stack