Vulnerability · Published Mar 10, 2026 · Assigned by GitHub_M
CVE-2026-30952liquidjs has a path traversal fallback vulnerability
High 8.7
In plain English
A high-severity path traversal in liquidjs from harttle. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | liquidjs | 10.25.0 | GHSA-wmfp-5q7x-987x |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x x_refsource_CONFIRM
- https://github.com/harttle/liquidjs/pull/851 x_refsource_MISC
- https://github.com/harttle/liquidjs/pull/855 x_refsource_MISC
- https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac x_refsource_MISC