Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39859: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in harttle liquidjs

0
Medium
VulnerabilityCVE-2026-39859cvecve-2026-39859cwe-22
Published: Wed Apr 08 2026 (04/08/2026, 19:45:21 UTC)
Source: CVE Database V5
Vendor/Project: harttle
Product: liquidjs

Description

LiquidJS is a Shopify / GitHub Pages compatible template engine in pure JavaScript. Prior to 10.25.3, liquidjs 10.25.0 documents root as constraining filenames passed to renderFile() and parseFile(), but top-level file loads do not enforce that boundary. A Liquid instance configured with an empty temporary directory as root can return the contents of arbitrary files. This vulnerability is fixed in 10.25.3.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/08/2026, 20:21:28 UTC

Technical Analysis

LiquidJS, a JavaScript template engine compatible with Shopify and GitHub Pages, had a path traversal vulnerability (CWE-22) in versions before 10.25.3. Although the root directory was documented as a constraint for filenames passed to renderFile() and parseFile(), this boundary was not enforced for top-level file loads. Consequently, an attacker could configure a Liquid instance with an empty temporary directory as root and retrieve contents of arbitrary files on the system. This vulnerability is addressed in LiquidJS version 10.25.3.

Potential Impact

An attacker can exploit this vulnerability to read arbitrary files on the system where LiquidJS is running, potentially exposing sensitive information. The vulnerability does not require privileges or user interaction and has a medium severity rating (CVSS 6.3). There are no known exploits in the wild at this time.

Mitigation Recommendations

Upgrade LiquidJS to version 10.25.3 or later, where this path traversal vulnerability is fixed. No other mitigation is indicated or required according to the available data.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-07T19:13:20.379Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d6b51c1cc7ad14daaa5ce9

Added to database: 4/8/2026, 8:05:48 PM

Last enriched: 4/8/2026, 8:21:28 PM

Last updated: 4/9/2026, 8:15:47 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses