Read the docs
TI-2023-20044 Aliases CVE-2023-38695GHSA-vxjg-hchx-cc4g

cypress-image-snapshot vulnerable to insecure snapshot file names

Priority LOW 31CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00989 62nd percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD
Fix Fixed @simonsmith/cypress-image-snapshot (npm): 8.0.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
simonsmithcypress-image-snapshotup to 8.0.1—No fix listedCNA
—@simonsmith/cypress-image-snapshot (npm)before 8.0.28.0.2Patch availableGHSA-vxjg-hchx-cc4g
  • cypress-image-snapshot Vendorsimonsmith Affected up to 8.0.1 Fixed in — No fix listed CNA
  • @simonsmith/cypress-image-snapshot (npm) Vendor— Affected before 8.0.2 Fixed in 8.0.2 Patch available GHSA-vxjg-hchx-cc4g

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:simonsmith:cypress_image_snapshot:*:*:*:*:*:node.js:*:*before 8.0.2Vulnerablesimonsmith
  • cpe:2.3:a:simonsmith:cypress_image_snapshot:*:*:*:*:*:node.js:*:* Versions before 8.0.2 Vulnerable ·simonsmith

Remediation

  • Fix · GHSA-vxjg-hchx-cc4g @simonsmith/cypress-image-snapshot (npm) Fixed in 8.0.2 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-38695
  2. 2026-10-03 Alias added: GHSA-vxjg-hchx-cc4g

References

Sources