Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. liquidjs
  4. ›
  5. CVE-2026-30952

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

March 10, 2026 (updated March 12, 2026)

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.

References

  • github.com/advisories/GHSA-wmfp-5q7x-987x
  • github.com/harttle/liquidjs
  • github.com/harttle/liquidjs/commit/3cd024d652dc883c46307581e979fe32302adbac
  • github.com/harttle/liquidjs/pull/851
  • github.com/harttle/liquidjs/pull/855
  • github.com/harttle/liquidjs/security/advisories/GHSA-wmfp-5q7x-987x
  • nvd.nist.gov/vuln/detail/CVE-2026-30952

Code Behaviors & Features

Detect and mitigate CVE-2026-30952 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 10.25.0

Fixed versions

  • 10.25.0

Solution

Upgrade to version 10.25.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/liquidjs/CVE-2026-30952.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 26 Mar 2026 00:17:20 +0000.