Skip to main content
← All vulnerabilities
CVE-2023-38695GHSA-VXJG-HCHX-CC4G

cypress-image-snapshot vulnerable to insecure snapshot file names

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • simonsmith cypress-image-snapshot

    through 8.0.1

  • @simonsmith/cypress-image-snapshotnpm

    fixed in 8.0.2

References 4

GitHub · simonsmith/cypress-image-snapshot