Skip to content

fix(deps): bump js-yaml to 4.2.0 (CVE-2026-53550) - #1035

Merged
Changyong Gong (chagong) merged 1 commit into
mainfrom
fix/js-yaml-cve-2026-53550
Jun 23, 2026
Merged

Changyong Gong (chagong) merged 1 commit into
mainfrom
fix/js-yaml-cve-2026-53550

Conversation

@chagong

Copy link
Copy Markdown
Contributor

Fixes Dependabot alert #94.

Vulnerability

  • Advisory: GHSA-h67p-54hq-rp68 / CVE-2026-53550
  • Package: js-yaml (npm, dev dependency, transitive via cosmiconfig)
  • Severity: Medium (CVSS 5.3)
  • Summary: Quadratic-complexity DoS in merge-key (<<) handling via repeated aliases. A crafted YAML document can cause CPU exhaustion when parsed.
  • Vulnerable range: <= 4.1.1
  • Patched version: 4.2.0

Change

Bumped js-yaml 4.1.1 → 4.2.0 in package-lock.json (npm update js-yaml). 4.2.0 satisfies the existing ^4.1.0 constraint, so only the lockfile changed.

Note: tslint still pulls in js-yaml@3.14.2 (constraint ^3.13.1), which cannot move to the 4.x line. Dependabot raised only alert #94 for the 4.x instance, which this PR resolves.

@chagong
Changyong Gong (chagong) merged commit efeb509 into main Jun 23, 2026
31 of 33 checks passed
@chagong
Changyong Gong (chagong) deleted the fix/js-yaml-cve-2026-53550 branch June 23, 2026 03:00
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