Skip to content

chore(deps): security bump — js-yaml 3.15.1 / 4.3.1 - #289

Open
sunny-se wants to merge 1 commit into
mainfrom
security/dependabot-axe-3977
Open

chore(deps): security bump — js-yaml 3.15.1 / 4.3.1#289
sunny-se wants to merge 1 commit into
mainfrom
security/dependabot-axe-3977

Conversation

@sunny-se

@sunny-se sunny-se commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps existing package.json overrides: js-yaml@3 3.15.0 → 3.15.1, js-yaml@4 4.3.0 → 4.3.1
  • Fixes GHSA-5p4m-2wfm-xmqj (CVSS 7.5, CVE-2026-59870) — quadratic CPU in !!omap resolution; 3.15.1/4.3.1 backport the Set-based fix
  • No runtime exposure: no dependencies declared — js-yaml comes via the build/test toolchain only

Verification

  • Lockfile regenerated with npm install --package-lock-only — only js-yaml entries changed; resolves 3.15.1 / 4.3.1
  • npm audit — no js-yaml findings after the bump
  • CI green

Backports the Set-based !!omap key-uniqueness fix
(GHSA-5p4m-2wfm-xmqj / CVE-2026-59870): resolveYamlOmap() used
O(n^2) Array.indexOf, allowing quadratic CPU on untrusted YAML.

Impact scope: a11y-critical (dependency tree only — no rule or
module behaviour changes). Dev-only exposure: no runtime
`dependencies` declared, js-yaml comes via the build/test toolchain.

Overrides-only change; lockfile regenerated with
npm install --package-lock-only. npm audit reports no js-yaml
findings after the bump.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sunny-se
sunny-se force-pushed the security/dependabot-axe-3977 branch from c6d7c77 to d5b3cf8 Compare August 12, 2026 12:09
@sunny-se sunny-se changed the title chore(deps): security bump — js-yaml 3.15.1 / 4.3.1 (AXE-3977) chore(deps): security bump — js-yaml 3.15.1 / 4.3.1 Aug 12, 2026
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