Closed
Bump transitive js-yaml to 4.3.1+ to fix CVE-2026-59870#230
Conversation
Co-authored-by: JoyceZhu <6251669+JoyceZhu@users.noreply.github.com>
Copilot
AI
changed the title
Bump js-yaml to 4.3.1+ to fix CVE-2026-59870
Bump transitive js-yaml to 4.3.1+ to fix CVE-2026-59870
Aug 10, 2026
Copilot created this pull request from a session on behalf of
JoyceZhu
August 10, 2026 18:10
View session
JoyceZhu
marked this pull request as ready for review
August 10, 2026 19:19
There was a problem hiding this comment.
Pull request overview
Updates the vulnerable transitive js-yaml dependency while preserving the direct 5.x dependency.
Changes:
- Adds a scoped
@eslint/eslintrcoverride requiringjs-yaml4.3.1+. - Regenerates the lockfile with
js-yaml4.3.1.
Show a summary per file
| File | Description |
|---|---|
package.json |
Adds the scoped security override. |
package-lock.json |
Locks the transitive dependency to 4.3.1. |
Review details
Tip
Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 1/2 changed files
- Comments generated: 0
- Review effort level: Balanced
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.
The
@eslint/eslintrcdevDependency resolvedjs-yaml@4.3.0, which is vulnerable to CVE-2026-59870 (quadratic CPU consumption in!!omapresolution; DoS). Fixed in 4.3.1. The directjs-yamldevDependency was already^5.2.2and unaffected.Changes
package.json— added a scoped override so only the transitive dependency is bumped, leaving the direct^5.2.2devDependency untouched:package-lock.json— regenerated;@eslint/eslintrc'sjs-yamlnow resolves to4.3.1.Notes
js-yamloverride was intentionally avoided as it would downgrade the direct5.2.2dependency.brace-expansionaudit finding is unrelated and left out of scope.