Conversation
Pin transitive js-yaml to ^5.2.1 via pnpm override to remediate GHSA-5p4m-2wfm-xmqj (CVE-2026-59870 fix never backported to 3.x/4.x lines). js-yaml is a dev-only transitive dependency (jsdom, @eslint/eslintrc, confbox, katex, toml-eslint-parser); resolved version is 5.2.3. Verified lint (0 errors), tsc --noEmit, vitest (1298 passed), and vite build all pass unchanged with the override applied.
This was referenced Aug 8, 2026
This was referenced Aug 29, 2026
This was referenced Sep 6, 2026
This was referenced Sep 14, 2026
This branch has not been deployed
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.
Summary
Remediates GHSA-5p4m-2wfm-xmqj (High) — quadratic CPU consumption in
!!omapresolution affecting js-yaml 3.x and 4.x. This is the same weakness as CVE-2026-59870 (GHSA-724g-mxrg-4qvm), fixed upstream in the 5.x line at 5.2.1, but never backported to the 3.x/4.x legacy lines.Change
Pins the transitive
js-yamldependency to^5.2.1via apnpm-workspace.yamloverride, following the same pattern as the existingfast-urioverride. Resolved version: 5.2.3.js-yamlis a dev-only transitive dependency here (pulled in by@eslint/eslintrc,jsdom,confbox,katex,toml-eslint-parser) — it only parses trusted local config/build-time YAML, not untrusted user input, but the fix is minimal and reversible so it's included per the security remediation scope.Verification
All quality gates pass unchanged with the override applied:
pnpm lint— 0 errors (44 pre-existing warnings, unchanged)pnpm exec tsc --noEmit— cleanpnpm test— 1298 passed / 57 files, 0 failedpnpm build— tsc + vite build succeededRemoval criteria
Remove this override once all transitive consumers (
@eslint/eslintrc,jsdom,confbox,katex,toml-eslint-parser) bump their ownjs-yamlrequirement past 5.2.1.🤖 Generated by Fro Bot autohealing (schedule-95a0d398-31239756521).