What’s Vulnerable › Vulnerabilities

CVE-2023-38695: cypress-image-snapshot vulnerable to insecure snapshot file names

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.

Affected products

How to fix

Upgrade to a fixed version: simonsmith cypress-image-snapshot 8.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-38695 or the next vulnerability affects your stack