Skip to content

fix: bump js-yaml to 3.15.2 to resolve audit advisory - #67

Merged
llbbl merged 1 commit into
mainfrom
fix/js-yaml-audit-advisory
Sep 20, 2026
Merged

llbbl merged 1 commit into
mainfrom
fix/js-yaml-audit-advisory

Conversation

@llbbl

@llbbl llbbl commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • CI's Security Scan step (pnpm audit --audit-level moderate) has been failing on every open pull request because of a high-severity advisory, GHSA-2883-xcg3-v3hh, in js-yaml. The vulnerable range is >=3.0.0 <3.15.2, and the lockfile pinned js-yaml@3.15.1, pulled in transitively through gray-matter.
  • The fix is pnpm update js-yaml --depth Infinity, which re-resolves js-yaml to 3.15.2. That version still satisfies gray-matter's existing ^3.13.1 dependency range, so this change is lockfile-only: no package.json edit and no pnpm override were needed.

Changes

Dependencies

  • pnpm-lock.yaml: Bump js-yaml to 3.15.2 to resolve GHSA-2883-xcg3-v3hh. Re-resolution also picked up two incidental, in-range bumps: nanoid moved from 3.3.18 to 3.3.19, and a second copy of rollup@4.63.4 was added as a transitive dependency under vitest (the direct rollup@4.63.1 dependency is unchanged).

Test plan

  • pnpm audit --audit-level moderate reports "No known vulnerabilities found"
  • Full test suite passes (282 tests)
  • pnpm build completes cleanly

Notes

This unblocks the open Dependabot PRs #64, #65, and #66, which all currently fail on this same Security Scan gate and should go green once they rebase on main.

…v3hh

The Security Scan step in CI (pnpm audit --audit-level moderate) has been
failing on every open pull request because of a high-severity advisory in
js-yaml, pulled in transitively through gray-matter. The lockfile pinned
js-yaml at 3.15.1, which falls inside the vulnerable range (>=3.0.0
<3.15.2).

Running pnpm update js-yaml --depth Infinity re-resolves it to 3.15.2,
which still satisfies gray-matter's existing ^3.13.1 dependency range. This
change is lockfile-only: no package.json edit and no pnpm override were
needed.

Re-resolution also picked up two incidental, in-range bumps: nanoid moved
from 3.3.18 to 3.3.19, and a second copy of rollup 4.63.4 was added as a
transitive dependency under vitest (the direct rollup 4.63.1 dependency is
unchanged).

Verified pnpm audit --audit-level moderate now reports no known
vulnerabilities, the full test suite (282 tests) passes, and pnpm build
completes cleanly.
@llbbl
llbbl merged commit 16648f1 into main Sep 20, 2026
7 checks passed
@llbbl
llbbl deleted the fix/js-yaml-audit-advisory branch September 20, 2026 13:25
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