- Home
- Vulnerabilities
- CVE-2026-35525
CVE-2026-35525
LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, for {%…
Summary
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.
Affected products and versions
Liquidjs (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Liquidjs | before 10.25.3 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
Exploit reported by sources
These links are tagged “exploit” by the NVD or CVE.org. We have neither verified nor copied them; open with care.
Timeline
- — CVE published (cve)
References
- https://github.com/harttle/liquidjs/security/advisories/GHSA-56p5-8mhr-2fphExploit, Vendor Advisory
- https://github.com/harttle/liquidjs/pull/867Issue Tracking
- https://github.com/harttle/liquidjs/releases/tag/v10.25.3Release Notes
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- CNA (vendor or assigner)
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Weakness
- CWE-61 · Autre (CWE-61)