Skip to content

fix(security): resolve js-yaml prototype pollution (CVE-2025-64718)#3

Merged
alexpota merged 1 commit intomainfrom
security/fix-js-yaml-cve-2025-64718
Nov 18, 2025
Merged

fix(security): resolve js-yaml prototype pollution (CVE-2025-64718)#3
alexpota merged 1 commit intomainfrom
security/fix-js-yaml-cve-2025-64718

Conversation

@alexpota
Copy link
Owner

Summary

Fixes Dependabot security alert #1 by addressing CVE-2025-64718, a prototype pollution vulnerability in js-yaml versions < 4.1.1.

Changes

  • Upgrade ESLint 8.57 → 9.39.1 with typescript-eslint v8
  • Upgrade Jest 29.7 → 30.2 with @types/jest v30
  • Add npm override to enforce js-yaml ^4.1.1 across all transitive dependencies
  • Migrate to ESLint flat config (eslint.config.mjs)
  • Fix unused variable warnings in adapter files

Security Impact

  • Resolves CVE-2025-64718 (js-yaml prototype pollution, CVSS 5.3)
  • All js-yaml dependencies upgraded from vulnerable versions to 4.1.1+
  • Vulnerability affected development dependencies only

Testing

  • All unit tests pass (20/20)
  • Build successful
  • Linting passes
  • Type checking passes

Breaking Changes

None. All changes are in development dependencies.

Closes #1

Addresses Dependabot alert #1 for js-yaml < 4.1.1.

- Upgrade ESLint 8 → 9 with typescript-eslint v8
- Upgrade Jest 29 → 30 with updated type definitions
- Add npm override to enforce js-yaml ^4.1.1 across all dependencies
- Migrate to ESLint flat config (eslint.config.mjs)
- Fix unused variable warnings in adapter files

All js-yaml dependencies now use patched version 4.1.1+.
All tests pass, build successful.
@alexpota alexpota merged commit 17cdba2 into main Nov 18, 2025
6 checks passed
@alexpota alexpota deleted the security/fix-js-yaml-cve-2025-64718 branch November 18, 2025 10:44
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