fix(deps): bump js-yaml override to ^4.3.1 for CVE-2026-59870 - #2284
Merged
Conversation
js-yaml 4.3.0 is vulnerable to quadratic CPU consumption in !!omap resolution (GHSA-5p4m-2wfm-xmqj / CVE-2026-59870). The fix is backported in 4.3.1, so no major upgrade is needed; 5.x carries its own open advisory (GHSA-pm4m-ph32-ghv5, fixed 5.2.2) and would be a breaking bump. Raises the pnpm override in both site/ and crates/bashkit-js/ and refreshes both lockfiles.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | cff2410 | Commit Preview URL Branch Preview URL |
Aug 08 2026, 05:49 PM |
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 changed
Raises the pinned
js-yamlpnpm override from^4.3.0to^4.3.1in both npmworkspaces (
site/andcrates/bashkit-js/) and refreshes both lockfiles.Resolves Dependabot alerts #102 and #103. No API or behavior change —
js-yamlis a transitive dependency in both trees (Astro's markdown frontmatter handling
in
site/,@napi-rs/cli+ava/supertapdev tooling incrates/bashkit-js/).Why
js-yaml4.3.0 is vulnerable to quadratic CPU consumption during!!omapresolution — GHSA-5p4m-2wfm-xmqj / CVE-2026-59870 (High).
The alert title says the fix was "not backported" to 4.x, but the advisory's own
affected ranges say otherwise:
>=4.0.0 <4.3.1and>=3.0.0 <3.15.1. 4.3.1 isthe patched 4.x release, so a patch bump closes it.
Deliberately not moving to 5.x:
parsing time in flow collections, fixed in 5.2.2), so it is not a strictly
safer branch.
Before / After
Resolved version in both trees:
site/builds clean on the new lockfile — 40 pages plus all 10 postbuildverifiers:
crates/bashkit-js/installs frozen and lints clean (0 errors; the 3 warningsare pre-existing unused-import notices unrelated to this change).
The lockfile diffs touch only the
js-yamlentries — 6 lines each, notransitive resolution drift.
CI: 34/34 checks green on
cff2410.Risk
regression in Astro's frontmatter handling or in the napi/ava dev tooling; the
site build exercises the former end to end and passes.
Checklist
sitebuild + postbuild verifiers andbashkit-jsfrozen install/lintAPI change