Skip to content

chore: update vulnerable dependencies bundled in utilsBundle #43899

Closed

Description

npm audit reports advisories for four packages that ship inside playwright-core/lib/utilsBundle.js. All are denial of service via crafted input. Exposure is low, but users running npm audit on playwright-core will see them.

Package Bundled Fixed in Advisory Severity Path
zod 4.4.3 4.6.6 GHSA-mrhx-c7xc-m3w5 high direct
brace-expansion 5.0.7 5.0.12 GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895, GHSA-q2hr-2g5m-vwhr, GHSA-qhr7-859c-m2p7, GHSA-6j4f-fj2g-mc7p high via minimatch
minimatch 10.2.5 11.0.1 GHSA-g3hv-75wg-m249 moderate direct
ip-address 10.7.2 10.7.4 GHSA-rxp7-6hxx-x8q5 moderate via socks-proxy-agent

Proposed fix:

  • Bump zod to 4.6.7.
  • Bump minimatch to 11.0.4. Major bump, but its engine range (20 || >=22) matches playwright-core. It also pulls brace-expansion 5.0.12.
  • Refresh the lockfile so ip-address resolves to 10.7.6 (socks already allows it).

The other npm audit entries (body-parser, qs, js-yaml, eslint and typescript-eslint packages) are dev-only and are not included in the bundle.

Activity

  1. github-actions commented on Nov 4, 2026

    @github-actions
  2. microsoft-playwright-automation commented on Nov 4, 2026

    @microsoft-playwright-automation
    Contributor

    Hi, I'm the Playwright bot. I checked the bundled dependencies and verified an update on Linux.

    Confirmed on 1.66.0-next, commit 97dd3b70dbbf64cc326a6e1c04652b91ffa79746. The proposal updates zod to 4.6.7, minimatch to 11.0.4, brace-expansion to 5.0.12, and ip-address to 10.7.6. npm audit no longer flags these four bundled package instances; other dependency findings remain outside this change.

    The new minimatch dependency has no repository URL. The license report now permits that missing field while preserving its license text and the existing checks on supplied URLs.

    Verification
    • Compared npm audit --json before and after the update, and checked the versions in the generated utilsBundle.js.LICENSE.
    • Extended the existing bundle-license test: generating a license report for the new dependency fails before the report fix and passes after it.
    • Build and full lint checks passed.
    • Bundle-license and bundle-size tests: 4 passed.
    • Test matching, ignore rules, and grep tests: 34 passed.
    • Proxy tests on Chromium, Firefox, and WebKit: 104 passed, 1 existing skip.
    • MCP configuration tests on Chrome: 103 passed.

    Draft PR: #43902

    Triaged on Linux by the Playwright bot - agent run

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions