Skip to content

fix(security): bump js-yaml to 4.3.1 for CVE-2026-59870 - #299

Merged
github-actions[bot] merged 1 commit into
mainfrom
fix/js-yaml-advisory
Aug 11, 2026
Merged

fix(security): bump js-yaml to 4.3.1 for CVE-2026-59870#299
github-actions[bot] merged 1 commit into
mainfrom
fix/js-yaml-advisory

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Closes the one high advisory the daily security audit filed as #289: quadratic CPU in js-yaml !!omap resolution, vulnerable >=4.0.0 <4.3.1.

  • Override floor raised ^4.3.0^4.3.1, lock refreshed.
  • Resolved tree verified, per the 2026-08-06 lesson: the lockfile holds a single deduped js-yaml@4.3.1 — no nested vulnerable copy behind a patched hoisted one.
  • Install-time audit: 0 vulnerabilities. 441 tests green, including the blog frontmatter path that uses js-yaml as gray-matter's engine.

#289 closes itself on the next scheduled audit after this merges.

🤖 Generated with Claude Code

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>
@github-actions
github-actions Bot merged commit c4d02aa into main Aug 11, 2026
9 checks passed
@github-actions
github-actions Bot deleted the fix/js-yaml-advisory branch August 11, 2026 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant