SecurityContext

CVE-2026-35525: LiquidJS - Path Traversal

  • Cve: CVE-2026-35525
  • Name: LiquidJS - Path Traversal
  • Description: 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.
  • Impact: Attackers can read and render files outside allowed directories, potentially exposing sensitive data or executing unintended templates.
  • Remediation: Update to version 10.25.3 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be able to place or influence templates under trusted roots
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00403
  • Epss percentile: 0.35356
  • Assignee: [email protected]
  • Published at: 2026-04-08T20:16:24Z
  • Age in days: 230
  • Modified at: 2026-07-24T21:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35525
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-61UNIX Symbolic Link (Symlink) Following

Public exploits

UrlSourceAdded date
https://github.com/harttle/liquidjs/security/advisories/GHSA-56p5-8mhr-2fphnvd2026-04-08

References

Same in every row:

  • Source: nvd
UrlTags
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

Products

ProductAffectedPlatform boundSourcesUrl
liquidjs:liquidjs< 10.25.3nonvd/v1/products/liquidjs/liquidjs

Projects

RepositoryLink kindsIndexedUrl
harttle/liquidjsfix, package, pull, releases, security_advisoryyes/v1/repositories/harttle/liquidjs

Index

  • Repositories: 37
  • Repositories high signal: 21
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-04-08
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts