{"id":"CVE-2026-30952","published":"2026-03-10T20:25:20Z","modified":"2026-03-11T14:39:22Z","title":"liquidjs has a path traversal fallback vulnerability","vendor":"harttle","product":"liquidjs","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.5039,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/harttle/liquidjs/pull/851","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/pull/855","tags":["x_refsource_MISC"]},{"url":"https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac","tags":["x_refsource_MISC"]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":10.08},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.09}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-03-11","earliestUrl":"https://github.com/MorielHarush/CVE-2026-30952-PoC","repos":[{"name":"MorielHarush/CVE-2026-30952-PoC","url":"https://github.com/MorielHarush/CVE-2026-30952-PoC","stars":0,"created":"2026-03-11"}]},"first":{"date":"2026-03-11","source":"PoC-in-GitHub","url":"https://github.com/MorielHarush/CVE-2026-30952-PoC"},"provenance":"source"},"vendorSlug":"harttle","affectedVersions":[{"vendor":"harttle","product":"liquidjs","versions":["< 10.25.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-11T14:39:07.165212Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"liquidjs","vulnerableRanges":["<10.25.0"],"patched":["10.25.0"],"from":["GHSA-wmfp-5q7x-987x"],"provenance":"source"}],"summary":{"text":"A path traversal flaw in liquidjs, a pure JavaScript Shopify and GitHub Pages compatible template engine, lets the layout, render, and include tags access arbitrary files through absolute paths, whether given as string literals or passed through Liquid variables (the latter enabled by default via dynamicPartials). An attacker who can control template content, or who can supply the file path to be included as a Liquid variable, can read arbitrary files over the network without authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:23Z"},"euvd":{"id":"EUVD-2026-10872","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-harttle-liquidjs-cve-2026-30952","children":[{"from":"CVE-2026-30952","to":"CVE-2026-39859","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/fs/loader.ts"],"commits":["https://github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac","https://github.com/harttle/liquidjs/commit/f41c1fc02fe901598f3328118b42b13bc6bc9b04"],"basis":"shared function","functions":["Loader"]}]}],"packageHistory":[{"cve":"CVE-2022-25948","published":"2022-12-23","fixed":"10.0.0","kev":false},{"cve":"CVE-2026-30952","published":"2026-03-10","fixed":"10.25.0","kev":false},{"cve":"CVE-2026-33287","published":"2026-03-26","fixed":"10.25.1","kev":false,"link":{"from":"CVE-2026-30952","to":"CVE-2026-33287","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:liquidjs","fromFixed":"10.25.0","toFixed":"10.25.1","daysApart":16}]}},{"cve":"CVE-2026-34166","published":"2026-04-08","fixed":"10.25.3","kev":false},{"cve":"CVE-2026-35525","published":"2026-04-08","fixed":"10.25.3","kev":false}],"package":"npm:liquidjs"}}