Skip to content

Vulnerability in the dependency tree #1130

@denis-sokolov

Description

@denis-sokolov

With the latest versions of @wdio/visual-service and @wdio/image-comparison-core, a published vulnerability CVE-2026-31808 is included deeper in the dependency tree because of an old version of file-type.

The root cause is the seemingly unmaintained dependency jimp (issue in their tracker).

@wdio/visual-service@9.2.0
└─┬ @wdio/image-comparison-core@1.2.0
  └─┬ jimp@1.6.0
    └─┬ @jimp/core@1.6.0
      └── file-type@16.5.4

Although not the fault of the @wdio, consumers of @wdio packages can’t trivially avoid including this vulnerability. Tools such as npmx report a vulnerability as present in @wdio:

Image

The workaround might be to migrate away from jimp, or switch to a fork of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions