Skip to content

fix(security): patch 4 Dependabot alerts (happy-dom RCE + vite file read) #485

Closed

Description

@vybe

Summary

GitHub Dependabot flagged 4 critical/high severity vulnerabilities on main. All are in dev-only dependencies with patched versions already available.

Alerts

# Severity Package Manifest Patched in Vulnerability
#83 critical happy-dom tests/git-sync/package-lock.json 20.0.0 VM Context Escape → RCE (CVE-2025-61927)
#55 high vite src/frontend/package-lock.json 6.4.2 Arbitrary file read via dev-server WebSocket (CVE-2026-39363)
#84 high happy-dom tests/git-sync/package-lock.json 20.8.8 ECMAScriptModuleCompiler code exec (CVE-2026-33943)
#85 high happy-dom tests/git-sync/package-lock.json 20.8.9 Fetch credentials cookie leakage (CVE-2026-34226)

Context

Surfaced during the dev-workflow rollout push on 2026-04-24. Neither package ships to production:

  • happy-dom is a test-only dependency (browser simulation for tests/git-sync/)
  • vite serves the frontend in local dev only — production builds are static and don't run the dev server

Blast radius is contained, but the alerts should be cleared.

Acceptance Criteria

Technical Notes

  • happy-dom may need a multi-major jump — run the tests/git-sync/ suite to verify compatibility
  • Check @vitejs/plugin-vue / other vite peer deps for matching bumps
  • The 27 moderate alerts (axios and others) are out of scope — track separately if needed

Activity

  1. added
    priority-p1
    type-bug
    status-in-progress
    on Apr 24, 2026
  2. added a commit that references this issue on Apr 24, 2026
    619f2f6
  3. vybe commented on Apr 24, 2026

    @vybe
    ContributorAuthor

    Merged via #486 into dev (commit 619f2f6). 4 Dependabot alerts resolved.

  4. removed
    status-in-progress
    on Apr 24, 2026
  5. added 2 commits that reference this issue on Apr 26, 2026
    8fb48fe
    7333fab
  6. added
    complexity-low
    theme-security
    on Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    complexity-lowpriority-p1theme-securitytype-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions