CVE-2023-38695

Medium

Description

cypress-image-snapshot shows visual regressions in Cypress with jest-image-snapshot. Prior to version 8.0.2, it's possible for a user to pass a relative file path for the snapshot name and reach outside of the project directory into the machine running the test. This issue has been patched in version 8.0.2.

SeverityMedium
CVSS6.5
Exploit probability—
ProductSimonsmith Cypress Image Snapshot
PublishedAug 4, 2023
First seenAug 4, 2023

How to fix

Update
  • simonsmith cypress_image_snapshot8.0.2 or later
  • @simonsmith/cypress-image-snapshot8.0.2 or later

Affected products

ProductAffected versionsFixed in
simonsmith cypress_image_snapshotv < 8.0.28.0.2
@simonsmith/cypress-image-snapshotnpmv < 8.0.28.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2023-38695 · Simonsmith Cypress Image Snapshot · Dark Radar