CVE-2026-30952 liquidjs has a path traversal fallback vulnerability
HighCVSS 8.7
EPSS 0.62%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| liquidjs | < 10.25.0 | 10.25.0 | Fixed |
| npm liquidjs(npm) | < 10.25.0 | 10.25.0 | Fixed |
| harttle liquidjs | = < 10.25.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| harttle liquidjs | = < 10.25.0 | No fix listed |
| npm liquidjs(npm) | < 10.25.0 | 10.25.0 |
| liquidjs | < 10.25.0 | 10.25.0 |
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x mitigation patch vendor-advisory
- https://github.com/harttle/liquidjs/pull/851 issue-tracking patch
- https://github.com/harttle/liquidjs/pull/855 issue-tracking patch
- https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product