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).
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:
The workaround might be to migrate away from jimp, or switch to a fork of it.
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).Although not the fault of the
@wdio, consumers of@wdiopackages can’t trivially avoid including this vulnerability. Tools such as npmx report a vulnerability as present in@wdio:The workaround might be to migrate away from jimp, or switch to a fork of it.