# CVE-2026-30952: liquidjs has a path traversal fallback vulnerability

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.61%, higher than 50% of CVEs (2026-12-01)
- Published: 2026-03-10T01:04:34.000Z
- Modified: 2026-09-10T03:50:41.571Z
- Also known as: GHSA-wmfp-5q7x-987x
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- harttle liquidjs: < 10.25.0
- liquidjs (npm): before 10.25.0
- liquidjs liquidjs: before 10.25.0

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x> (mitigation, patch, vendor-advisory, 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/commit/3cd024d652dc883c46307581e979fe32302adbac> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-30952> (advisory)
- <https://github.com/harttle/liquidjs> (package)

## Sources

- CVE List: [CVE-2026-30952](https://www.cve.org/CVERecord?id=CVE-2026-30952), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-wmfp-5q7x-987x](https://github.com/advisories/GHSA-wmfp-5q7x-987x), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-30952](https://nvd.nist.gov/vuln/detail/CVE-2026-30952), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-30952 · Whole record: https://cve.day/CVE-2026-30952.json · Rebuilt by cve.day 2026-11-25T22:59:15.662Z
