{"cve":"CVE-2023-38695","nvd":{"published":"2023-08-04T18:15:14.667","modified":"2026-06-17T06:10:58.303","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5},"cwes":["CWE-22"],"references":["https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4","https://github.com/simonsmith/cypress-image-snapshot/issues/15","https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2","https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g","https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4"],"products":["simonsmith:cypress_image_snapshot"],"source":"nvd","synced_at":"2026-10-19T21:38:35.729974749+00:00"},"epss":{"cve":"CVE-2023-38695","score":0.00989,"percentile":0.6251,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vxjg-hchx-cc4g","url":"https://osv.dev/vulnerability/GHSA-vxjg-hchx-cc4g","summary":"@simonsmith/cypress-image-snapshothas fix for insecure snapshot file names","modified":"2026-09-10T03:49:57.712525841Z","packages":[{"ecosystem":"npm","name":"@simonsmith/cypress-image-snapshot","purl":"pkg:npm/%40simonsmith/cypress-image-snapshot","ranges":["<8.0.2"],"fixed":["8.0.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}