Skip to content

Upgrade mocha to 12 beta to resolve Dependabot vulnerability alerts#125

Merged
theRealPadster merged 1 commit intomainfrom
copilot/update-mocha-dependency
May 5, 2026
Merged

Upgrade mocha to 12 beta to resolve Dependabot vulnerability alerts#125
theRealPadster merged 1 commit intomainfrom
copilot/update-mocha-dependency

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

All stable mocha releases (≤11.7.5) pull in vulnerable transitive deps (diff 6–8.x, serialize-javascript ≤7.0.4). The fix requires mocha 12, currently only available as a beta.

Changes

  • mocha ^11.7.5^12.0.0-beta-9.3 — first release line to depend on diff ^9.0.0 and serialize-javascript ^7.0.5, resolving GHSA-73rr-hh4g-fpgx and GHSA-5c6j-r48x-rmvq
  • axios 1.13.x1.16.0 — resolves multiple high-severity prototype pollution / SSRF / injection CVEs
  • brace-expansion1.1.14 — resolves moderate DoS via zero-step sequence (GHSA-f886-m6hf-6m8v)

@theRealPadster theRealPadster merged commit abdedae into main May 5, 2026
5 checks passed
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