Skip to content

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

HighCVSS 8.7 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
liquidjs < 10.25.0 10.25.0 Fixed
npm liquidjs(npm) < 10.25.0 10.25.0 Fixed
harttle liquidjs = < 10.25.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
harttle liquidjs = < 10.25.0 No fix listed
npm liquidjs(npm) < 10.25.0 10.25.0
liquidjs < 10.25.0 10.25.0

References