Bump js-yaml to 3.15.0 / 4.3.0 via lockfile re-resolution#1172
Merged
Conversation
Re-resolve the transitive js-yaml dependency so the vulnerable 3.14.2 (under @istanbuljs/load-nyc-config, via ts-jest) and 4.1.1 (under eslint@8.57.1, via standard) are replaced with patched 3.15.0 and 4.3.0. No overrides added and jest stays at 30.4.2. Fixes GHSA-h67p-54hq-rp68 (CVE-2026-53550).
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.
Bumps js-yaml to patched versions across both transitive paths: 3.14.2 → 3.15.0 and 4.1.1 → 4.3.0.
js-yamlis not a direct dependency. It enters through two paths, both re-resolved by re-solving the lockfile — nooverrideswere added andjeststays at 30.4.2 (Dependabot's own update path would have downgraded it to 25.0.0).ts-jest→@jest/transform→babel-plugin-istanbul→@istanbuljs/load-nyc-config→js-yaml@3.14.2→ 3.15.0standard→eslint@8.57.1(+@eslint/eslintrc) →js-yaml@4.1.1→ 4.3.0Security fix
Resolves GHSA-h67p-54hq-rp68 — JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases.
js-yaml >= 3.15.0(3.x line); 4.x re-resolved to 4.3.0Commits
Verification
npm ls js-yaml→ 3.15.0 and 4.3.0 only; vulnerable 3.14.2 / 4.1.1 gonenpm ls jest→ stays at 30.4.2 (no downgrade to 25.0.0)npm audit→ nojs-yamlfindingsnpm run all→ build, format, lint, package, test all pass