CVE-2023-38695Simonsmith Cypress Image Snapshot
Medium 6.5
Follow: this CVE · Simonsmith · Simonsmith Cypress Image Snapshot We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 61
- Auth required
- Yes
- Published
- Aug 4, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Cypress Image Snapshot.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @simonsmith/cypress-image-snapshot |
< 8.0.2 |
8.0.2 |
npm install @simonsmith/cypress-image-snapshot@8.0.2 |
Per OSV / GitHub Advisories (GHSA-vxjg-hchx-cc4g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| simonsmith | cypress_image_snapshot | < 8.0.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Issue Tracking Patch
- github.com Release Notes
- github.com Exploit Mitigation Vendor Advisory