CVE-2023-38695

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-38695
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38695.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-38695
Aliases
Published
2023-08-04T17:25:18.810Z
Modified
2025-11-20T12:18:55.446336Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
cypress-image-snapshot vulnerable to insecure snapshot file names
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-22"
    ]
}
References

Affected packages

Git / github.com/simonsmith/cypress-image-snapshot

Affected ranges

Type
GIT
Repo
https://github.com/simonsmith/cypress-image-snapshot
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

6.*

6.1.1

7.*

7.0.0
7.0.0-beta.1
7.0.0-beta.2
7.0.0-beta.3

8.*

8.0.0
8.0.1