CVE-2026-30952
HIGH 8.7CVSS 4.0liquidjs has a path traversal fallback vulnerability
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.
- Published
- 10 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-22
- Also known as
- GHSA-wmfp-5q7x-987x
- Sources
- NVDJSONOSV GHSA-wmfp-5q7x-987xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | liquidjs | liquidjscpe:2.3:a:liquidjs:liquidjs:*:*:*:*:*:node.js:*:* |
< 10.25.0 | 10.25.0 |
| OSV | npm | liquidjs | < 10.25.0 | 10.25.0 |
References
- https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac · Patch, WEB
- https://github.com/harttle/liquidjs/pull/851 · Issue Tracking, Patch, WEB
- https://github.com/harttle/liquidjs/pull/855 · Issue Tracking, Patch, WEB
- https://github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x · Mitigation, Patch, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-30952 · ADVISORY
- https://github.com/harttle/liquidjs · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Mar 2026)