fix(deps): update dependency liquidjs to v10.25.0 [security]#657
Open
renovate[bot] wants to merge 1 commit intomasterfrom
Open
fix(deps): update dependency liquidjs to v10.25.0 [security]#657renovate[bot] wants to merge 1 commit intomasterfrom
renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
10.18.0→10.25.0GitHub Vulnerability Alerts
CVE-2026-30952
Impact
The
layout,render, andincludetags allow arbitrary file access via absolute paths (either as string literals or through Liquid variables whendynamicPartials: trueis enabled). 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.Patches
The issue is fixed via #855 and published version 10.25.0 on npm.
Workarounds
Change the files in build time
In build time, through Shell script or Webpack
string-replace-loader, change the file content of correxponding file (depending on your packagetype, for CommonJS it'sdist/liquid.node.js) underdist/,if (fs.fallback !== undefined) { const filepath = fs.fallback(file) - if (filepath !== undefined) yield filepath + if (filepath !== undefined) { + for (const dir of dirs) { + if (!enforceRoot || this.contains(dir, filepath)) { + yield filepath + break + } + } } }Overriding by
fsLiquidJS optionAdding a
fsoption to override the defaultfsimplementation:References
Discussions: https://github.com/harttle/liquidjs/pull/851
Code fix: https://github.com/harttle/liquidjs/pull/855
Release Notes
harttle/liquidjs (liquidjs)
v10.25.0Compare Source
Bug Fixes
Features
v10.24.0Compare Source
Features
v10.23.0Compare Source
Features
v10.22.0Compare Source
Bug Fixes
Features
10.21.1 (2025-05-14)
Bug Fixes
v10.21.1Compare Source
Bug Fixes
Features
10.21.1 (2025-05-14)
Bug Fixes
v10.21.0Compare Source
Bug Fixes
Features
10.21.1 (2025-05-14)
Bug Fixes
v10.20.3Compare Source
Features
10.20.3 (2025-02-09)
Bug Fixes
10.20.2 (2025-01-19)
Bug Fixes
10.20.1 (2025-01-04)
Bug Fixes
v10.20.2Compare Source
Features
10.20.3 (2025-02-09)
Bug Fixes
10.20.2 (2025-01-19)
Bug Fixes
10.20.1 (2025-01-04)
Bug Fixes
v10.20.1Compare Source
Features
10.20.3 (2025-02-09)
Bug Fixes
10.20.2 (2025-01-19)
Bug Fixes
10.20.1 (2025-01-04)
Bug Fixes
v10.20.0Compare Source
Features
10.20.3 (2025-02-09)
Bug Fixes
10.20.2 (2025-01-19)
Bug Fixes
10.20.1 (2025-01-04)
Bug Fixes
v10.19.1Compare Source
Features
size,first,lastsupport arraylike objects, #781 (35a8442)10.19.1 (2024-12-22)
Bug Fixes
v10.19.0Compare Source
Features
size,first,lastsupport arraylike objects, #781 (35a8442)10.19.1 (2024-12-22)
Bug Fixes
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.