Skip to content

build(deps): bump js-yaml to 3.15.1/4.3.1 to clear GHSA-5p4m-2wfm-xmqj - #1204

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependabot-alerts-investigation-f758
Draft

build(deps): bump js-yaml to 3.15.1/4.3.1 to clear GHSA-5p4m-2wfm-xmqj#1204
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/dependabot-alerts-investigation-f758

Conversation

@cursor

@cursor cursor Bot commented Aug 10, 2026

Copy link
Copy Markdown

What

Refreshes the two transitive js-yaml entries in the root yarn.lock from 3.15.03.15.1 and 4.3.04.3.1.

Why

Both existing versions are flagged by the new advisory GHSA-5p4m-2wfm-xmqj (high — quadratic CPU consumption in !!omap resolution, CVE-2026-59870). Fixed in 3.15.1 and 4.3.1 respectively.

Both new versions satisfy the existing manifest ranges (^3.13.1 via @istanbuljs/load-nyc-config, ^4.1.0 via eslint@8.57.1), so this is a pure lockfile refresh — no package.json, no resolutions, no runtime code touched. Only used by dev/test tooling; the shipped library is unaffected either way.

How

Deleted the two js-yaml blocks in yarn.lock and re-ran yarn install, which re-resolved them to the newest matching patch releases. yarn npm audit --recursive --all --json no longer reports GHSA-5p4m-2wfm-xmqj afterwards.

Notes

Other open advisories on this repo (brace-expansion, fast-uri, ip-address, undici) are already covered by open PRs (#1200#1203) and are intentionally not touched here to keep this diff small and reviewable.

Open in Web View Automation 

…xmqj

js-yaml versions <3.15.1 and <4.3.1 have quadratic CPU consumption
in !!omap resolution (GHSA-5p4m-2wfm-xmqj, high). Both versions are
pulled in only as transitive dev deps (via @istanbuljs/load-nyc-config
and eslint@8.57.1) and the newer patch releases satisfy the existing
^3.13.1 and ^4.1.0 ranges, so a lockfile refresh clears the advisory
without any manifest or resolutions changes.

Co-authored-by: Andreja Kogovsek <andrejak@users.noreply.github.com>
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