fix(deps): liquidjs — GHSA-v273-448j-v4qj (medium)#4094
Open
kemister85 wants to merge 2 commits intomainfrom
Open
fix(deps): liquidjs — GHSA-v273-448j-v4qj (medium)#4094kemister85 wants to merge 2 commits intomainfrom
kemister85 wants to merge 2 commits intomainfrom
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.
What was run
This branch was produced by
dependabot-autopilot, an autonomous agent that:mainpackage.jsonwith the minimal change to resolve the vulnerability (the agent has no shell / no network access — it can only read and edit files in the workspace)yarn installso the lockfile reflects the fixAdvisory
liquidjs<= 10.25.410.25.5renderFile()/parseFile()bypass configuredrootand allow arbitrary file readAgent summary
Perfect! I have successfully fixed Dependabot alert #94 by adding a Yarn
resolutionsfield to package.json that forces the use of liquidjs version 10.25.5 or later, which is the first patched version that fixes the security vulnerability GHSA-v273-448j-v4qj.Summary
I fixed Dependabot alert #94 by adding a
resolutionsfield to package.json that overrides the transitive liquidjs dependency (coming from @tinymce/antora-extension-livedemos) to use version 10.25.5 or later. The vulnerability (GHSA-v273-448j-v4qj) affects all liquidjs versions ≤10.25.4 and allowsrenderFile()/parseFile()to bypass the configured root directory for arbitrary file reads. Since the direct dependency @tinymce/antora-extension-livedemos@0.1.0 specifies liquidjs ^9.37.0, which only allows 9.x versions, the Yarn resolutions mechanism is required to force the use of the patched 10.25.5+ version without waiting for an upstream package update.Validation results
yarn install(regenerates lockfile)yarn build:production(Antora build)/+ dynamically discovered internal link)All validation stages passed on the patched code. This is still a draft-level change — please review the diff and advisory link before merging.
Visual evidence: 2 Playwright screenshots were captured during the smoke test. They are visible on the autopilot dashboard at the run detail page.
Validation log (tail)
Diff summary
Do not auto-merge this PR. Every change here must be reviewed by a human.