6.5
MEDIUM
CVE-2023-38695
Cypress Image Snapshot File Path Absolute Path Traversal
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.

INFO

Published Date :

Aug. 4, 2023, 6:15 p.m.

Last Modified :

Nov. 21, 2024, 8:14 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2023-38695 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Simonsmith cypress_image_snapshot

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2023-38695 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2023-38695 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4
    Added Reference https://github.com/simonsmith/cypress-image-snapshot/issues/15
    Added Reference https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2
    Added Reference https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Aug. 09, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4 No Types Assigned https://github.com/simonsmith/cypress-image-snapshot/commit/ef49519795daf5183f4fac6f3136e194f20f39f4 Patch
    Changed Reference Type https://github.com/simonsmith/cypress-image-snapshot/issues/15 No Types Assigned https://github.com/simonsmith/cypress-image-snapshot/issues/15 Exploit, Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2 No Types Assigned https://github.com/simonsmith/cypress-image-snapshot/releases/tag/8.0.2 Release Notes
    Changed Reference Type https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g No Types Assigned https://github.com/simonsmith/cypress-image-snapshot/security/advisories/GHSA-vxjg-hchx-cc4g Exploit, Mitigation, Vendor Advisory
    Added CPE Configuration OR *cpe:2.3:a:simonsmith:cypress_image_snapshot:*:*:*:*:*:node.js:*:* versions up to (excluding) 8.0.2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2023-38695 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.30 }} -0.11%

score

0.52449

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jun. 24, 2025 10:16