Skip to content

chore(deps): bump happy-dom to 21.0.4 past GHSA-834v-8h66-3h79 (dev-only high, needs a major) #2813

Closed

Description

@cliffhall

Found by the npm audit --audit-level=high report at v2.13.0 release prep (#2812).

clients/web declares happy-dom: ^20.11.2 (installed 20.14.5). GHSA-834v-8h66-3h79, Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution, covers 17.0.0 - 21.0.3. The only patched version is 21.0.4, so no fix exists within the 20.x line.

Scope: dev-only. happy-dom is the web client's unit-test DOM and does not ship in the tarball. The exposure is to whatever HTML or script a test loads into it.

Why this was not fixed at release prep: it needs a major bump (20 → 21). The release skill sends a major to its own issue and PR rather than making it a release-day edit, and npm audit fix --force is ruled out (#2058).

Work:

  • Bump clients/web happy-dom to ^21.0.4. It is declared only in web.
  • Read the 21.0.0 breaking changes, and fix whatever the web unit and integration suites turn up.
  • npm run local:gate.

Activity

  1. added this to the v2.14.0 milestone on Oct 28, 2026
  2. added
    v2
    chore
    on Oct 28, 2026
  3. self-assigned this
    on Oct 29, 2026
  4. cliffhall commented on Oct 29, 2026

    @cliffhall
    MemberAuthor

    Fixed by #2852, merged into v2/main; verified together with the rest of v2.14.0 in the rollup #2858.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

chorev2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions