๐Ÿ” CVE Alert

CVE-2026-35525

UNKNOWN 0.0

LiquidJS has a root restriction bypass for partial and layout loading through symlinked templates

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, for {% include %}, {% render %}, and {% layout %}, LiquidJS checks whether the candidate path is inside the configured partials or layouts roots before reading it. That check is path-based, not realpath-based. Because of that, a file like partials/link.liquid passes the directory containment check as long as its pathname is under the allowed root. If link.liquid is actually a symlink to a file outside the allowed root, the filesystem follows the symlink when the file is opened and LiquidJS renders the external target. So the restriction is applied to the path string that was requested, not to the file that is actually read. This matters in environments where an attacker can place templates or otherwise influence files under a trusted template root, including uploaded themes, extracted archives, mounted content, or repository-controlled template trees. This vulnerability is fixed in 10.25.3.

CWE CWE-61
Vendor harttle
Product liquidjs
Published Apr 8, 2026
Last Updated Apr 8, 2026
Stay Ahead of the Next One

Get instant alerts for harttle liquidjs

Be the first to know when new unknown vulnerabilities affecting harttle liquidjs are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

harttle / liquidjs
< 10.25.3

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/harttle/liquidjs/security/advisories/GHSA-56p5-8mhr-2fph github.com: https://github.com/harttle/liquidjs/pull/867 github.com: https://github.com/harttle/liquidjs/releases/tag/v10.25.3