Vulnerability
CVE-2026-39859
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, liquidjs 10.25.0 documents root as constraining filenames passed to renderFile() and parseFile(), but top-level file loads do not enforce that boundary. A Liquid instance configured with an empty temporary directory as root can return the contents of arbitrary files. This vulnerability is fixed in 10.25.3.
5 advisories report this vulnerability, across 2 ecosystems.
Advisories
- CGA-7ggq-fvv2-p9rr
- CGA-cmfp-238w-wqjh
- CGA-h5qx-c3r7-f3gj
- CGA-q8wj-xjp2-qv6m
-
GHSA-v273-448j-v4qj
LiquidJS: `renderFile()` / `parseFile()` bypass configured `root` and allow arbitrary file read