CVE-2023-38695 — cypress-image-snapshot shows visual regressions in Cypress with jest-image-snaps
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 h
Published
2023-08-04T17:25:18.810Z
Last modified
2024-10-04T19:39:48.430Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
01What is this vulnerability?
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.
02Affected products
| Vendor | Product | Versions |
|---|
| simonsmith | cypress | image-snapshot — <= 8.0.1 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Open the Sigma generator with a pre-filled prompt for this CVE to draft a starting detection in your stack of choice:
Open in Sigma generator →
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2023-08-04T17:25:18.810Z
- Last modified: 2024-10-04T19:39:48.430Z
09References
- github.com — https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vx…
- github.com — https://github.com/simonsmith/cypress-image-snapshot/issues/15
- github.com — https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4f…
- github.com — https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →