CVE-2023-38695

cypress-image-snapshot vulnerable to insecure snapshot file names

Published Aug 4, 2023 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.


Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-2366 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.
Github GHSA Github GHSA GHSA-vxjg-hchx-cc4g @simonsmith/cypress-image-snapshothas fix for insecure snapshot file names
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 4, 2024, 7:39 PM
Reserved
Jul 24, 2023, 4:19 PM
Status
Modified
Published
Aug 4, 2023, 6:15 PM
Modified
Jun 17, 2026, 6:10 AM