Skip to content

build(deps): Upgrade js-yaml 3.x to 3.14.2 to fix GHSA-mh29-5h37-fv8m#208

Merged
oioki merged 1 commit intomasterfrom
fix/js-yaml-ghsa-mh29-5h37-fv8m
Feb 27, 2026
Merged

build(deps): Upgrade js-yaml 3.x to 3.14.2 to fix GHSA-mh29-5h37-fv8m#208
oioki merged 1 commit intomasterfrom
fix/js-yaml-ghsa-mh29-5h37-fv8m

Conversation

@oioki
Copy link
Copy Markdown
Member

@oioki oioki commented Feb 27, 2026

Upgrades the js-yaml 3.x lockfile entry from 3.14.1 to 3.14.2 to fix GHSA-mh29-5h37-fv8m (arbitrary code execution via untrusted YAML input).

The vulnerable instance comes via: jestbabel-plugin-istanbul@istanbuljs/load-nyc-configjs-yaml@^3.13.1. There is no "bump dependants" path — @istanbuljs/[email protected] (latest) still pins js-yaml@^3.13.1, and [email protected] still pulls that same version in.

Because the range ^3.13.1 naturally satisfies 3.14.2, no resolutions override is needed. Removing the stale lockfile entry is enough for yarn to re-resolve to the patched release. Only yarn.lock changes — package.json is untouched.

The separate js-yaml@^4.1.0 entry (used by eslint) is unaffected; GHSA-mh29-5h37-fv8m is specific to the 3.x branch.

The vulnerability is in js-yaml <3.14.2 (3.x branch). The instance in this
repo comes via: jest → babel-plugin-istanbul → @istanbuljs/load-nyc-config
→ js-yaml@^3.13.1.

There is no "bump dependants" path: @istanbuljs/[email protected]
(latest) still requires js-yaml@^3.13.1, and [email protected]
still uses @istanbuljs/load-nyc-config@^1.0.0.

Since ^3.13.1 naturally satisfies 3.14.2, no resolutions override is needed
— removing the stale lockfile entry is sufficient for yarn to re-resolve to
the latest patched release. No package.json changes.

Co-Authored-By: Claude <[email protected]>
@oioki oioki marked this pull request as ready for review February 27, 2026 08:17
@oioki oioki enabled auto-merge (squash) February 27, 2026 08:26
@oioki oioki merged commit 486cfcc into master Feb 27, 2026
12 checks passed
@oioki oioki deleted the fix/js-yaml-ghsa-mh29-5h37-fv8m branch February 27, 2026 08:29
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.

2 participants