Path Traversal in Harttle Liquidjs
CVE-2026-30952
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.006, 50.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Harttle Liquidjs — versions < 10.25.0
- Liquidjs
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- MorielHarush/CVE-2026-30952-PoC (last pushed 2026-03-11): PoC for CVE-2026-30952: Path Traversal vulnerability in liquidjs via absolute paths in layout, render, and include tags.
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x (Patch, Mitigation, Vendor Advisory)
- https://github.com/harttle/liquidjs/pull/851 (Patch, Issue Tracking)
- https://github.com/harttle/liquidjs/pull/855 (Patch, Issue Tracking)
- https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac (Patch)
This CVE has public exploit evidence. See the latest CVEs with public exploits.