fix(security): bump js-yaml to 4.3.1 for CVE-2026-59870 - #299
Merged
Conversation
The daily security audit (issue #289) flagged the one high advisory open on main: quadratic CPU consumption in js-yaml's !!omap resolution, vulnerable range >=4.0.0 <4.3.1. The existing override said ^4.3.0 but the lock pinned 4.3.0 exactly. Raised the override floor to ^4.3.1 and refreshed the lock. Verified the RESOLVED tree, not just the declaration: the lockfile now holds a single deduped js-yaml@4.3.1 (all four transitive parents plus the gray-matter engine in src/lib/blog.ts resolve to it), and install-time audit reports 0 vulnerabilities. 441 tests green. Issue #289 closes itself on the next scheduled audit once this lands. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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.
Closes the one high advisory the daily security audit filed as #289: quadratic CPU in js-yaml
!!omapresolution, vulnerable>=4.0.0 <4.3.1.^4.3.0→^4.3.1, lock refreshed.js-yaml@4.3.1— no nested vulnerable copy behind a patched hoisted one.#289 closes itself on the next scheduled audit after this merges.
🤖 Generated with Claude Code